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