rust/tests/ui/imports/bad-import-with-rename.rs

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

17 lines
232 B
Rust
Raw Normal View History

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() {}