`#![register_{attribute,lint}_tool]` by jyn514 · Pull Request #3808 · rust-lang/rfcs
- mention that `rustdoc -w json` will include the attributes - fix semver-checks spelling - apparently adding `inline` can be a breaking change 🙄
label
May 6, 2025- make cargo registration the main user interface - specify that `no_implicit_prelude` does not affect tools
ojeda
mentioned this pull request
48 tasks
BD103
mentioned this pull request
BD103
mentioned this pull request
rustbot
added
the
I-lang-nominated
label
Dec 10, 2025Hinata-Mikami pushed a commit to Hinata-Mikami/RefinedRust that referenced this pull request
Jan 5, 2026intel-lab-lkp pushed a commit to intel-lab-lkp/linux that referenced this pull request
Jan 27, 2026Register "klint" as a tool so that rustc understands that `#[klint::attr]` is a tool attribute and `klint::lint` is a tool lint. This makes use of the `register_tool` feature which has been implemented as a nightly feature for long time and has an active RFC. The feature does not change any functionality, simply make it possible for Rust to recognize extra tools in addition to the built-in hardcoded ones (clippy & rustdoc). Link: rust-lang/rfcs#3808 Signed-off-by: Gary Guo <gary@garyguo.net>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters