mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
20 lines
312 B
Rust
20 lines
312 B
Rust
// https://github.com/rust-lang/rust/issues/126389
|
|
|
|
mod a {
|
|
pub mod b {
|
|
pub mod c {}
|
|
}
|
|
}
|
|
|
|
use a::*;
|
|
|
|
use b::c;
|
|
//~^ ERROR: unresolved import `b::c`
|
|
//~| ERROR: cannot determine resolution for the import
|
|
//~| ERROR: cannot determine resolution for the import
|
|
use c as b;
|
|
|
|
fn c() {}
|
|
|
|
fn main() { }
|