rust/tests/ui/use/use-mod/use-mod-3.rs

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

13 lines
188 B
Rust
Raw Normal View History

use foo::bar::{ //~ ERROR module `bar` is private
self
};
use foo::bar::{ //~ ERROR module `bar` is private
Bar
};
mod foo {
mod bar { pub type Bar = isize; }
}
fn main() {}