rust/tests/ui/conditional-compilation/cfg_accessible.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
864 B
Plaintext
Raw Normal View History

2022-05-20 14:27:34 -05:00
error[E0425]: cannot find value `ExistingPrivate` in this scope
--> $DIR/cfg_accessible.rs:52:5
|
2022-05-20 14:27:34 -05:00
LL | ExistingPrivate;
| ^^^^^^^^^^^^^^^ not found in this scope
|
2022-05-20 14:27:34 -05:00
note: unit struct `m::ExistingPrivate` exists but is inaccessible
--> $DIR/cfg_accessible.rs:5:5
|
2022-05-20 14:27:34 -05:00
LL | struct ExistingPrivate;
| ^^^^^^^^^^^^^^^^^^^^^^^ not accessible
2022-05-20 14:27:34 -05:00
error[E0425]: cannot find value `NonExistingPrivate` in this scope
--> $DIR/cfg_accessible.rs:53:5
|
2022-05-20 14:27:34 -05:00
LL | NonExistingPrivate;
| ^^^^^^^^^^^^^^^^^^ not found in this scope
2022-05-20 14:27:34 -05:00
error[E0425]: cannot find value `NonExistingTraitAlias` in this scope
--> $DIR/cfg_accessible.rs:54:5
|
2022-05-20 14:27:34 -05:00
LL | NonExistingTraitAlias;
| ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
error: aborting due to 3 previous errors
2022-05-20 14:27:34 -05:00
For more information about this error, try `rustc --explain E0425`.