mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 16:54:01 +00:00
21 lines
320 B
Rust
21 lines
320 B
Rust
// https://github.com/rust-lang/rust/issues/126376
|
|
|
|
mod a {
|
|
pub mod b {
|
|
pub trait C {}
|
|
}
|
|
}
|
|
|
|
use a::*;
|
|
|
|
use e as b;
|
|
|
|
use b::C as e;
|
|
//~^ ERROR: unresolved import `b::C`
|
|
//~| ERROR: cannot determine resolution for the import
|
|
//~| ERROR: cannot determine resolution for the import
|
|
|
|
fn e() {}
|
|
|
|
fn main() { }
|