diff options
Diffstat (limited to 'tests/ui/privacy/sealed-traits/private-trait-non-local.rs')
-rw-r--r-- | tests/ui/privacy/sealed-traits/private-trait-non-local.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/ui/privacy/sealed-traits/private-trait-non-local.rs b/tests/ui/privacy/sealed-traits/private-trait-non-local.rs new file mode 100644 index 000000000..426f21cc7 --- /dev/null +++ b/tests/ui/privacy/sealed-traits/private-trait-non-local.rs @@ -0,0 +1,4 @@ +extern crate core; +use core::slice::index::private_slice_index::Sealed; //~ ERROR module `index` is private +fn main() { +} |