1 error[E0603]: module `bar` is private
2 --> $DIR/privacy-in-paths.rs:24:16
4 LL | ::foo::bar::baz::f();
7 note: the module `bar` is defined here
8 --> $DIR/privacy-in-paths.rs:3:5
13 error[E0603]: module `bar` is private
14 --> $DIR/privacy-in-paths.rs:25:16
16 LL | ::foo::bar::S::f();
19 note: the module `bar` is defined here
20 --> $DIR/privacy-in-paths.rs:3:5
25 error[E0603]: trait `T` is private
26 --> $DIR/privacy-in-paths.rs:26:23
28 LL | <() as ::foo::T>::Assoc::f();
31 note: the trait `T` is defined here
32 --> $DIR/privacy-in-paths.rs:8:5
37 error: aborting due to 3 previous errors
39 For more information about this error, try `rustc --explain E0603`.