rust/tests/ui/privacy/sealed-traits/private-trait-non-local.stderr
Nilstrieb 41e8d152dc Show number in error message even for one error
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
2023-11-24 19:15:52 +01:00

13 lines
446 B
Plaintext

error[E0603]: module `index` is private
--> $DIR/private-trait-non-local.rs:2:18
|
LL | use core::slice::index::private_slice_index::Sealed;
| ^^^^^ private module ------ trait `Sealed` is not publicly re-exported
|
note: the module `index` is defined here
--> $SRC_DIR/core/src/slice/mod.rs:LL:COL
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0603`.