09fc1af9d8
macros: improve shadowing checks This PR improves macro-expanded shadowing checks to work with out-of-(pre)order expansion. Out-of-order expansion became possible in #37084, so this technically a [breaking-change] for nightly. The regression test from this PR is an example of code that would break. r? @nrc |
||
---|---|---|
.. | ||
build_reduced_graph.rs | ||
Cargo.toml | ||
check_unused.rs | ||
diagnostics.rs | ||
lib.rs | ||
macros.rs | ||
resolve_imports.rs |