mirror of
https://github.com/rust-lang/rust
synced 2024-11-05 20:45:15 +00:00
17 lines
300 B
Rust
17 lines
300 B
Rust
// 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() {}
|