fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #69444 - pietroalbini:stable-next-final-v2-new, r=pietroalbinif3e1a954d2e

1.41.1
538 B21 linesraw
1error[E0603]: module `bar` is private
2  --> $DIR/privacy-in-paths.rs:24:16
3   |
4LL |         ::foo::bar::baz::f();
5   |                ^^^
6
7error[E0603]: module `bar` is private
8  --> $DIR/privacy-in-paths.rs:25:16
9   |
10LL |         ::foo::bar::S::f();
11   |                ^^^
12
13error[E0603]: trait `T` is private
14  --> $DIR/privacy-in-paths.rs:26:23
15   |
16LL |         <() as ::foo::T>::Assoc::f();
17   |                       ^
18
19error: aborting due to 3 previous errors
20
21For more information about this error, try `rustc --explain E0603`.