diff options
Diffstat (limited to 'tests/ui/reachable/unreachable-variant.rs')
-rw-r--r-- | tests/ui/reachable/unreachable-variant.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/ui/reachable/unreachable-variant.rs b/tests/ui/reachable/unreachable-variant.rs new file mode 100644 index 000000000..008c2d476 --- /dev/null +++ b/tests/ui/reachable/unreachable-variant.rs @@ -0,0 +1,7 @@ +// aux-build:unreachable_variant.rs + +extern crate unreachable_variant as other; + +fn main() { + let _x = other::super_sekrit::sooper_sekrit::baz; //~ ERROR is private +} |