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;
|
2020-03-22 22:36:54 +00:00
|
|
|
| ^ private static
|
2020-01-12 13:04:03 +00:00
|
|
|
|
|
|
|
|
note: the static `j` is defined here
|
|
|
|
--> $DIR/auxiliary/static_priv_by_default.rs:47:1
|
|
|
|
|
|
|
|
|
LL | static j: isize = 0;
|
2022-02-13 15:27:59 +00:00
|
|
|
| ^^^^^^^^^^^^^^^
|
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;
|
2020-03-22 22:36:54 +00:00
|
|
|
| ^ private function
|
2020-01-12 13:04:03 +00:00
|
|
|
|
|
|
|
|
note: the function `k` is defined here
|
|
|
|
--> $DIR/auxiliary/static_priv_by_default.rs:48:1
|
|
|
|
|
|
|
|
|
LL | fn 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;
|
2020-03-22 22:36:54 +00:00
|
|
|
| ^ private unit struct
|
2020-01-12 13:04:03 +00:00
|
|
|
|
|
|
|
|
note: the unit struct `l` is defined here
|
|
|
|
--> $DIR/auxiliary/static_priv_by_default.rs:49:1
|
|
|
|
|
|
|
|
|
LL | struct l;
|
2022-02-13 15:27:59 +00:00
|
|
|
| ^^^^^^^^
|
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>();
|
2020-03-22 22:36:54 +00:00
|
|
|
| ^ private enum
|
2020-01-12 13:04:03 +00:00
|
|
|
|
|
|
|
|
note: the enum `m` is defined here
|
|
|
|
--> $DIR/auxiliary/static_priv_by_default.rs:50:1
|
|
|
|
|
|
|
|
|
LL | enum 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>();
|
2020-03-22 22:36:54 +00:00
|
|
|
| ^ private type alias
|
2020-01-12 13:04:03 +00:00
|
|
|
|
|
|
|
|
note: the type alias `n` is defined here
|
|
|
|
--> $DIR/auxiliary/static_priv_by_default.rs:51:1
|
|
|
|
|
|
|
|
|
LL | type n = isize;
|
2022-02-13 15:27:59 +00:00
|
|
|
| ^^^^^^
|
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;
|
2023-06-16 19:44:06 +00:00
|
|
|
| ^^^ - static `a` is not publicly re-exported
|
|
|
|
| |
|
|
|
|
| private module
|
2020-01-12 13:04:03 +00:00
|
|
|
|
|
|
|
|
note: the module `foo` is defined here
|
|
|
|
--> $DIR/auxiliary/static_priv_by_default.rs:12:1
|
|
|
|
|
|
|
|
|
LL | mod foo {
|
|
|
|
| ^^^^^^^
|
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;
|
2023-06-16 19:44:06 +00:00
|
|
|
| ^^^ - function `b` is not publicly re-exported
|
|
|
|
| |
|
|
|
|
| private module
|
2020-01-12 13:04:03 +00:00
|
|
|
|
|
|
|
|
note: the module `foo` is defined here
|
|
|
|
--> $DIR/auxiliary/static_priv_by_default.rs:12:1
|
|
|
|
|
|
|
|
|
LL | mod foo {
|
|
|
|
| ^^^^^^^
|
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;
|
2023-06-16 19:44:06 +00:00
|
|
|
| ^^^ - unit struct `c` is not publicly re-exported
|
|
|
|
| |
|
|
|
|
| private module
|
2020-01-12 13:04:03 +00:00
|
|
|
|
|
|
|
|
note: the module `foo` is defined here
|
|
|
|
--> $DIR/auxiliary/static_priv_by_default.rs:12:1
|
|
|
|
|
|
|
|
|
LL | mod foo {
|
|
|
|
| ^^^^^^^
|
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>();
|
2023-06-16 19:44:06 +00:00
|
|
|
| ^^^ - enum `d` is not publicly re-exported
|
|
|
|
| |
|
|
|
|
| private module
|
2020-01-12 13:04:03 +00:00
|
|
|
|
|
|
|
|
note: the module `foo` is defined here
|
|
|
|
--> $DIR/auxiliary/static_priv_by_default.rs:12:1
|
|
|
|
|
|
|
|
|
LL | mod foo {
|
|
|
|
| ^^^^^^^
|
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>();
|
2023-06-16 19:44:06 +00:00
|
|
|
| ^^^ - type alias `e` is not publicly re-exported
|
|
|
|
| |
|
|
|
|
| private module
|
2020-01-12 13:04:03 +00:00
|
|
|
|
|
|
|
|
note: the module `foo` is defined here
|
|
|
|
--> $DIR/auxiliary/static_priv_by_default.rs:12:1
|
|
|
|
|
|
|
|
|
LL | mod foo {
|
|
|
|
| ^^^^^^^
|
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`.
|