Files
rust/tests/ui/resolve/unused-macro-import.stderr
Vadim Petrochenkov f89660e4aa resolve: Do not finalize shadowed bindings
I.e. do not mark them as used, or non-speculative loaded, or similar.
Previously they were sometimes finalized during early resolution, causing issues like https://github.com/rust-lang/rust/pull/144793#issuecomment-3168108005.
2025-09-25 20:36:14 +03:00

15 lines
302 B
Plaintext

warning: unused import: `crate::mac`
--> $DIR/unused-macro-import.rs:10:9
|
LL | use crate::mac;
| ^^^^^^^^^^
|
note: the lint level is defined here
--> $DIR/unused-macro-import.rs:3:9
|
LL | #![warn(unused_imports)]
| ^^^^^^^^^^^^^^
warning: 1 warning emitted