Files
rust/compiler/rustc_lint_defs
Jacob Pratt 9d06bc8ab0 Rollup merge of #160145 - nbdd0121:register_tool, r=mejrs
Expand checks for register_tool

Follow up to https://github.com/rust-lang/rust/pull/158038#pullrequestreview-4790506149 and https://github.com/rust-lang/rust/pull/158038#discussion_r3660045447

* Add tool-attribute test to ensure tools are not preserved across crate
* Reject invalid identifiers (super/self/Self/crate) in register_tool
* Add lint for duplicate tools

r? @mejrs
2026-07-31 22:25:19 -04:00
..