rust/src/test/ui/xcrate/xcrate-private-by-default.stderr

64 lines
1.8 KiB
Plaintext
Raw Normal View History

2018-08-08 12:28:26 +00:00
error[E0603]: static `j` is private
2018-12-25 15:56:47 +00:00
--> $DIR/xcrate-private-by-default.rs:23:29
2018-08-08 12:28:26 +00:00
|
LL | static_priv_by_default::j;
| ^
2018-08-08 12:28:26 +00:00
error[E0603]: function `k` is private
2018-12-25 15:56:47 +00:00
--> $DIR/xcrate-private-by-default.rs:25:29
2018-08-08 12:28:26 +00:00
|
LL | static_priv_by_default::k;
| ^
2018-08-08 12:28:26 +00:00
error[E0603]: unit struct `l` is private
2018-12-25 15:56:47 +00:00
--> $DIR/xcrate-private-by-default.rs:27:29
2018-08-08 12:28:26 +00:00
|
LL | static_priv_by_default::l;
| ^
2018-08-08 12:28:26 +00:00
error[E0603]: enum `m` is private
2018-12-25 15:56:47 +00:00
--> $DIR/xcrate-private-by-default.rs:29:35
2018-08-08 12:28:26 +00:00
|
LL | foo::<static_priv_by_default::m>();
| ^
2018-08-08 12:28:26 +00:00
error[E0603]: type alias `n` is private
2018-12-25 15:56:47 +00:00
--> $DIR/xcrate-private-by-default.rs:31:35
2018-08-08 12:28:26 +00:00
|
LL | foo::<static_priv_by_default::n>();
| ^
2018-08-08 12:28:26 +00:00
error[E0603]: module `foo` is private
2018-12-25 15:56:47 +00:00
--> $DIR/xcrate-private-by-default.rs:35:29
2018-08-08 12:28:26 +00:00
|
LL | static_priv_by_default::foo::a;
| ^^^
2018-08-08 12:28:26 +00:00
error[E0603]: module `foo` is private
2018-12-25 15:56:47 +00:00
--> $DIR/xcrate-private-by-default.rs:37:29
2018-08-08 12:28:26 +00:00
|
LL | static_priv_by_default::foo::b;
| ^^^
2018-08-08 12:28:26 +00:00
error[E0603]: module `foo` is private
2018-12-25 15:56:47 +00:00
--> $DIR/xcrate-private-by-default.rs:39:29
2018-08-08 12:28:26 +00:00
|
LL | static_priv_by_default::foo::c;
| ^^^
2018-08-08 12:28:26 +00:00
error[E0603]: module `foo` is private
2018-12-25 15:56:47 +00:00
--> $DIR/xcrate-private-by-default.rs:41:35
2018-08-08 12:28:26 +00:00
|
LL | foo::<static_priv_by_default::foo::d>();
| ^^^
2018-08-08 12:28:26 +00:00
error[E0603]: module `foo` is private
2018-12-25 15:56:47 +00:00
--> $DIR/xcrate-private-by-default.rs:43:35
2018-08-08 12:28:26 +00:00
|
LL | foo::<static_priv_by_default::foo::e>();
| ^^^
2018-08-08 12:28:26 +00:00
error: aborting due to 10 previous errors
For more information about this error, try `rustc --explain E0603`.