fork/rust
git clone https://git.julia.blue/fork/rust
49cae55760d
1.44.0
1error[E0603]: module `bar` is private 2 --> $DIR/use-mod-3.rs:1:10 3 | 4LL | use foo::bar::{ 5 | ^^^ private module 6 | 7note: the module `bar` is defined here 8 --> $DIR/use-mod-3.rs:9:5 9 | 10LL | mod bar { pub type Bar = isize; } 11 | ^^^^^^^ 12 13error[E0603]: module `bar` is private 14 --> $DIR/use-mod-3.rs:4:10 15 | 16LL | use foo::bar::{ 17 | ^^^ private module 18 | 19note: the module `bar` is defined here 20 --> $DIR/use-mod-3.rs:9:5 21 | 22LL | mod bar { pub type Bar = isize; } 23 | ^^^^^^^ 24 25error: aborting due to 2 previous errors 26 27For more information about this error, try `rustc --explain E0603`.