1 error[E0603]: static `j` is private
2 --> $DIR/xcrate-private-by-default.rs:23:29
4 LL | static_priv_by_default::j;
7 note: the static `j` is defined here
8 --> $DIR/auxiliary/static_priv_by_default.rs:47:1
10 LL | static j: isize = 0;
13 error[E0603]: function `k` is private
14 --> $DIR/xcrate-private-by-default.rs:25:29
16 LL | static_priv_by_default::k;
19 note: the function `k` is defined here
20 --> $DIR/auxiliary/static_priv_by_default.rs:48:1
25 error[E0603]: unit struct `l` is private
26 --> $DIR/xcrate-private-by-default.rs:27:29
28 LL | static_priv_by_default::l;
29 | ^ private unit struct
31 note: the unit struct `l` is defined here
32 --> $DIR/auxiliary/static_priv_by_default.rs:49:1
37 error[E0603]: enum `m` is private
38 --> $DIR/xcrate-private-by-default.rs:29:35
40 LL | foo::<static_priv_by_default::m>();
43 note: the enum `m` is defined here
44 --> $DIR/auxiliary/static_priv_by_default.rs:50:1
49 error[E0603]: type alias `n` is private
50 --> $DIR/xcrate-private-by-default.rs:31:35
52 LL | foo::<static_priv_by_default::n>();
53 | ^ private type alias
55 note: the type alias `n` is defined here
56 --> $DIR/auxiliary/static_priv_by_default.rs:51:1
61 error[E0603]: module `foo` is private
62 --> $DIR/xcrate-private-by-default.rs:35:29
64 LL | static_priv_by_default::foo::a;
67 note: the module `foo` is defined here
68 --> $DIR/auxiliary/static_priv_by_default.rs:12:1
73 error[E0603]: module `foo` is private
74 --> $DIR/xcrate-private-by-default.rs:37:29
76 LL | static_priv_by_default::foo::b;
79 note: the module `foo` is defined here
80 --> $DIR/auxiliary/static_priv_by_default.rs:12:1
85 error[E0603]: module `foo` is private
86 --> $DIR/xcrate-private-by-default.rs:39:29
88 LL | static_priv_by_default::foo::c;
91 note: the module `foo` is defined here
92 --> $DIR/auxiliary/static_priv_by_default.rs:12:1
97 error[E0603]: module `foo` is private
98 --> $DIR/xcrate-private-by-default.rs:41:35
100 LL | foo::<static_priv_by_default::foo::d>();
103 note: the module `foo` is defined here
104 --> $DIR/auxiliary/static_priv_by_default.rs:12:1
109 error[E0603]: module `foo` is private
110 --> $DIR/xcrate-private-by-default.rs:43:35
112 LL | foo::<static_priv_by_default::foo::e>();
115 note: the module `foo` is defined here
116 --> $DIR/auxiliary/static_priv_by_default.rs:12:1
121 error: aborting due to 10 previous errors
123 For more information about this error, try `rustc --explain E0603`.