mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
5ea1a03cca
Show `used attribute`'s kind for user when find it isn't applied to a `static` variable. For example : ```rust extern "C" { #[used] //~ ERROR attribute must be applied to a `static` variable static FOO: i32; // show the kind of this item to help user understand why the error is reported. } ``` fixes #126789 |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
messages.ftl |