rust/tests/ui/imports/redundant-import-lang-prelude.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
413 B
Plaintext
Raw Permalink Normal View History

2024-04-11 13:10:34 -05:00
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