]> git.lizzy.rs Git - rust.git/blob - tests/ui/imports/issue-53512.rs
Merge commit '1d8491b120223272b13451fc81265aa64f7f4d5b' into sync-from-rustfmt
[rust.git] / tests / ui / imports / issue-53512.rs
1 // Macro from prelude is shadowed by non-existent import recovered as `Res::Err`.
2
3 mod m {}
4 use m::assert; //~ ERROR unresolved import `m::assert`
5
6 fn main() {
7     assert!(true);
8 }