summaryrefslogtreecommitdiffstats
path: root/src/test/ui/imports/issue-53512.rs
blob: 67470f854cedfcf572d11d3c8a2a9d7e581d196e (plain)
1
2
3
4
5
6
7
8
// 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);
}