diff options
Diffstat (limited to 'tests/ui/conditional-compilation/cfg_accessible.stderr')
-rw-r--r-- | tests/ui/conditional-compilation/cfg_accessible.stderr | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/tests/ui/conditional-compilation/cfg_accessible.stderr b/tests/ui/conditional-compilation/cfg_accessible.stderr new file mode 100644 index 000000000..e3731a1ad --- /dev/null +++ b/tests/ui/conditional-compilation/cfg_accessible.stderr @@ -0,0 +1,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`. |