|
1 | | -error: not sure whether the path is accessible or not |
2 | | - --> $DIR/cfg_accessible.rs:12:18 |
| 1 | +error[E0425]: cannot find value `ExistingPrivate` in this scope |
| 2 | + --> $DIR/cfg_accessible.rs:52:5 |
3 | 3 | | |
4 | | -LL | #[cfg_accessible(m::ExistingPrivate)] |
5 | | - | ^^^^^^^^^^^^^^^^^^ |
| 4 | +LL | ExistingPrivate; |
| 5 | + | ^^^^^^^^^^^^^^^ not found in this scope |
6 | 6 | | |
7 | | -note: `cfg_accessible` is not fully implemented |
8 | | - --> $DIR/cfg_accessible.rs:12:18 |
| 7 | +note: unit struct `m::ExistingPrivate` exists but is inaccessible |
| 8 | + --> $DIR/cfg_accessible.rs:5:5 |
9 | 9 | | |
10 | | -LL | #[cfg_accessible(m::ExistingPrivate)] |
11 | | - | ^^^^^^^^^^^^^^^^^^ |
| 10 | +LL | struct ExistingPrivate; |
| 11 | + | ^^^^^^^^^^^^^^^^^^^^^^^ not accessible |
12 | 12 |
|
13 | | -error: not sure whether the path is accessible or not |
14 | | - --> $DIR/cfg_accessible.rs:16:18 |
| 13 | +error[E0425]: cannot find value `NonExistingPrivate` in this scope |
| 14 | + --> $DIR/cfg_accessible.rs:53:5 |
15 | 15 | | |
16 | | -LL | #[cfg_accessible(m::NonExistent)] |
17 | | - | ^^^^^^^^^^^^^^ |
18 | | - | |
19 | | -note: `cfg_accessible` is not fully implemented |
20 | | - --> $DIR/cfg_accessible.rs:16:18 |
21 | | - | |
22 | | -LL | #[cfg_accessible(m::NonExistent)] |
23 | | - | ^^^^^^^^^^^^^^ |
| 16 | +LL | NonExistingPrivate; |
| 17 | + | ^^^^^^^^^^^^^^^^^^ not found in this scope |
24 | 18 |
|
25 | | -error: not sure whether the path is accessible or not |
26 | | - --> $DIR/cfg_accessible.rs:37:18 |
27 | | - | |
28 | | -LL | #[cfg_accessible(S::field)] |
29 | | - | ^^^^^^^^ |
30 | | - | |
31 | | -note: `cfg_accessible` is not fully implemented |
32 | | - --> $DIR/cfg_accessible.rs:37:18 |
| 19 | +error[E0425]: cannot find value `NonExistingTraitAlias` in this scope |
| 20 | + --> $DIR/cfg_accessible.rs:54:5 |
33 | 21 | | |
34 | | -LL | #[cfg_accessible(S::field)] |
35 | | - | ^^^^^^^^ |
| 22 | +LL | NonExistingTraitAlias; |
| 23 | + | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope |
36 | 24 |
|
37 | 25 | error: aborting due to 3 previous errors |
38 | 26 |
|
| 27 | +For more information about this error, try `rustc --explain E0425`. |
0 commit comments