summaryrefslogtreecommitdiffstats
path: root/src/test/ui/conditional-compilation/cfg_accessible.stderr
blob: e3731a1ad7128e9db68641811942c925ddb67e7d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
error[E0425]: cannot find value `ExistingPrivate` in this scope
  --> $DIR/cfg_accessible.rs:52:5
   |
LL |     ExistingPrivate;
   |     ^^^^^^^^^^^^^^^ not found in this scope
   |
note: unit struct `m::ExistingPrivate` exists but is inaccessible
  --> $DIR/cfg_accessible.rs:5:5
   |
LL |     struct ExistingPrivate;
   |     ^^^^^^^^^^^^^^^^^^^^^^^ not accessible

error[E0425]: cannot find value `NonExistingPrivate` in this scope
  --> $DIR/cfg_accessible.rs:53:5
   |
LL |     NonExistingPrivate;
   |     ^^^^^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `NonExistingTraitAlias` in this scope
  --> $DIR/cfg_accessible.rs:54:5
   |
LL |     NonExistingTraitAlias;
   |     ^^^^^^^^^^^^^^^^^^^^^ not found in this scope

error: aborting due to 3 previous errors

For more information about this error, try `rustc --explain E0425`.