mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-31 22:41:50 +00:00
17 lines
232 B
Rust
17 lines
232 B
Rust
mod A {
|
|
pub type B = ();
|
|
pub type B2 = ();
|
|
}
|
|
|
|
mod C {
|
|
use crate::D::B as _;
|
|
//~^ ERROR unresolved import `crate::D::B`
|
|
|
|
use crate::D::B2;
|
|
//~^ ERROR unresolved import `crate::D::B2`
|
|
}
|
|
|
|
mod D {}
|
|
|
|
fn main() {}
|