fork/rust
git clone https://git.julia.blue/fork/rust
8d69840ab92
1.43.1
1error[E0603]: static `j` is private 2 --> $DIR/xcrate-private-by-default.rs:23:29 3 | 4LL | static_priv_by_default::j; 5 | ^ this static is private 6 | 7note: the static `j` is defined here 8 --> $DIR/auxiliary/static_priv_by_default.rs:47:1 9 | 10LL | static j: isize = 0; 11 | ^^^^^^^^^^^^^^^^^^^^ 12 13error[E0603]: function `k` is private 14 --> $DIR/xcrate-private-by-default.rs:25:29 15 | 16LL | static_priv_by_default::k; 17 | ^ this function is private 18 | 19note: the function `k` is defined here 20 --> $DIR/auxiliary/static_priv_by_default.rs:48:1 21 | 22LL | fn k() {} 23 | ^^^^^^ 24 25error[E0603]: unit struct `l` is private 26 --> $DIR/xcrate-private-by-default.rs:27:29 27 | 28LL | static_priv_by_default::l; 29 | ^ this unit struct is private 30 | 31note: the unit struct `l` is defined here 32 --> $DIR/auxiliary/static_priv_by_default.rs:49:1 33 | 34LL | struct l; 35 | ^^^^^^^^^ 36 37error[E0603]: enum `m` is private 38 --> $DIR/xcrate-private-by-default.rs:29:35 39 | 40LL | foo::<static_priv_by_default::m>(); 41 | ^ this enum is private 42 | 43note: the enum `m` is defined here 44 --> $DIR/auxiliary/static_priv_by_default.rs:50:1 45 | 46LL | enum m {} 47 | ^^^^^^ 48 49error[E0603]: type alias `n` is private 50 --> $DIR/xcrate-private-by-default.rs:31:35 51 | 52LL | foo::<static_priv_by_default::n>(); 53 | ^ this type alias is private 54 | 55note: the type alias `n` is defined here 56 --> $DIR/auxiliary/static_priv_by_default.rs:51:1 57 | 58LL | type n = isize; 59 | ^^^^^^^^^^^^^^^ 60 61error[E0603]: module `foo` is private 62 --> $DIR/xcrate-private-by-default.rs:35:29 63 | 64LL | static_priv_by_default::foo::a; 65 | ^^^ this module is private 66 | 67note: the module `foo` is defined here 68 --> $DIR/auxiliary/static_priv_by_default.rs:12:1 69 | 70LL | mod foo { 71 | ^^^^^^^ 72 73error[E0603]: module `foo` is private 74 --> $DIR/xcrate-private-by-default.rs:37:29 75 | 76LL | static_priv_by_default::foo::b; 77 | ^^^ this module is private 78 | 79note: the module `foo` is defined here 80 --> $DIR/auxiliary/static_priv_by_default.rs:12:1 81 | 82LL | mod foo { 83 | ^^^^^^^ 84 85error[E0603]: module `foo` is private 86 --> $DIR/xcrate-private-by-default.rs:39:29 87 | 88LL | static_priv_by_default::foo::c; 89 | ^^^ this module is private 90 | 91note: the module `foo` is defined here 92 --> $DIR/auxiliary/static_priv_by_default.rs:12:1 93 | 94LL | mod foo { 95 | ^^^^^^^ 96 97error[E0603]: module `foo` is private 98 --> $DIR/xcrate-private-by-default.rs:41:35 99 | 100LL | foo::<static_priv_by_default::foo::d>(); 101 | ^^^ this module is private 102 | 103note: the module `foo` is defined here 104 --> $DIR/auxiliary/static_priv_by_default.rs:12:1 105 | 106LL | mod foo { 107 | ^^^^^^^ 108 109error[E0603]: module `foo` is private 110 --> $DIR/xcrate-private-by-default.rs:43:35 111 | 112LL | foo::<static_priv_by_default::foo::e>(); 113 | ^^^ this module is private 114 | 115note: the module `foo` is defined here 116 --> $DIR/auxiliary/static_priv_by_default.rs:12:1 117 | 118LL | mod foo { 119 | ^^^^^^^ 120 121error: aborting due to 10 previous errors 122 123For more information about this error, try `rustc --explain E0603`.