rust/tests/ui/imports/redundant-import-lang-prelude.stderr
2024-07-31 00:07:42 -04:00

15 lines
413 B
Plaintext

error: the item `u8` is imported redundantly
--> $DIR/redundant-import-lang-prelude.rs:13:5
|
LL | use std::primitive::u8;
| ^^^^^^^^^^^^^^^^^^ the item `u8` is already defined by the extern prelude
|
note: the lint level is defined here
--> $DIR/redundant-import-lang-prelude.rs:10:9
|
LL | #![deny(redundant_imports)]
| ^^^^^^^^^^^^^^^^^
error: aborting due to 1 previous error