fork/rust
git clone https://git.julia.blue/fork/rust
73528e339aa
1.40.0
1error[E0603]: module `baz` is private 2 --> $DIR/privacy1.rs:132:18 3 | 4LL | use bar::baz::{foo, bar}; 5 | ^^^ 6 7error[E0603]: module `baz` is private 8 --> $DIR/privacy1.rs:140:18 9 | 10LL | use bar::baz; 11 | ^^^ 12 13error[E0603]: module `i` is private 14 --> $DIR/privacy1.rs:164:20 15 | 16LL | use self::foo::i::A; 17 | ^ 18 19error[E0603]: module `baz` is private 20 --> $DIR/privacy1.rs:104:16 21 | 22LL | ::bar::baz::A::foo(); 23 | ^^^ 24 25error[E0603]: module `baz` is private 26 --> $DIR/privacy1.rs:105:16 27 | 28LL | ::bar::baz::A::bar(); 29 | ^^^ 30 31error[E0603]: module `baz` is private 32 --> $DIR/privacy1.rs:107:16 33 | 34LL | ::bar::baz::A.foo2(); 35 | ^^^ 36 37error[E0603]: module `baz` is private 38 --> $DIR/privacy1.rs:108:16 39 | 40LL | ::bar::baz::A.bar2(); 41 | ^^^ 42 43error[E0603]: trait `B` is private 44 --> $DIR/privacy1.rs:112:16 45 | 46LL | ::bar::B::foo(); 47 | ^ 48 49error[E0603]: function `epriv` is private 50 --> $DIR/privacy1.rs:118:20 51 | 52LL | ::bar::epriv(); 53 | ^^^^^ 54 55error[E0603]: module `baz` is private 56 --> $DIR/privacy1.rs:127:16 57 | 58LL | ::bar::baz::foo(); 59 | ^^^ 60 61error[E0603]: module `baz` is private 62 --> $DIR/privacy1.rs:128:16 63 | 64LL | ::bar::baz::bar(); 65 | ^^^ 66 67error[E0603]: trait `B` is private 68 --> $DIR/privacy1.rs:156:17 69 | 70LL | impl ::bar::B for f32 { fn foo() -> f32 { 1.0 } } 71 | ^ 72 73error[E0624]: method `bar` is private 74 --> $DIR/privacy1.rs:77:9 75 | 76LL | self::baz::A::bar(); 77 | ^^^^^^^^^^^^^^^^^ 78 79error[E0624]: method `bar` is private 80 --> $DIR/privacy1.rs:95:5 81 | 82LL | bar::A::bar(); 83 | ^^^^^^^^^^^ 84 85error[E0624]: method `bar` is private 86 --> $DIR/privacy1.rs:102:9 87 | 88LL | ::bar::A::bar(); 89 | ^^^^^^^^^^^^^ 90 91error[E0624]: method `bar` is private 92 --> $DIR/privacy1.rs:105:9 93 | 94LL | ::bar::baz::A::bar(); 95 | ^^^^^^^^^^^^^^^^^^ 96 97error[E0624]: method `bar2` is private 98 --> $DIR/privacy1.rs:108:23 99 | 100LL | ::bar::baz::A.bar2(); 101 | ^^^^ 102 103error: aborting due to 17 previous errors 104 105Some errors have detailed explanations: E0603, E0624. 106For more information about an error, try `rustc --explain E0603`.