fork/rust
git clone https://git.julia.blue/fork/rust
b8cedc00407
1.42.0
1error[E0603]: static `private` is private 2 --> $DIR/static-priv-by-default2.rs:15:30 3 | 4LL | use child::childs_child::private; 5 | ^^^^^^^ this static is private 6 | 7note: the static `private` is defined here 8 --> $DIR/static-priv-by-default2.rs:7:9 9 | 10LL | static private: isize = 0; 11 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ 12 13error[E0603]: static `private` is private 14 --> $DIR/static-priv-by-default2.rs:23:33 15 | 16LL | use static_priv_by_default::private; 17 | ^^^^^^^ this static is private 18 | 19note: the static `private` is defined here 20 --> $DIR/auxiliary/static_priv_by_default.rs:3:1 21 | 22LL | static private: isize = 0; 23 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ 24 25error: aborting due to 2 previous errors 26 27For more information about this error, try `rustc --explain E0603`.