rust/src/test/ui/imports/bad-import-in-nested.rs

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

15 lines
171 B
Rust
Raw Normal View History

#![allow(unused)]
mod A {
pub(crate) type AA = ();
}
mod C {}
mod B {
use crate::C::{self, AA};
//~^ ERROR unresolved import `crate::C::AA`
}
fn main() {}