rust/tests/ui/imports/issue-53512.rs
2023-01-11 09:32:08 +00:00

9 lines
181 B
Rust

// Macro from prelude is shadowed by non-existent import recovered as `Res::Err`.
mod m {}
use m::assert; //~ ERROR unresolved import `m::assert`
fn main() {
assert!(true);
}