rust/tests/ui/imports/shadow-glob-module-resolution-1.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
300 B
Rust
Raw Normal View History

// https://github.com/rust-lang/rust/issues/124490
mod a {
pub mod b {
pub mod c {}
}
}
use a::*;
use b::c;
//~^ ERROR: cannot determine resolution for the import
//~| ERROR: cannot determine resolution for the import
//~| ERROR: unresolved import `b::c`
use c as b;
fn main() {}