mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-11 22:02:55 +00:00
17 lines
512 B
Text
17 lines
512 B
Text
error: this import is redundant
|
|
--> $DIR/single_component_path_imports.rs:6:1
|
|
|
|
|
LL | use regex;
|
|
| ^^^^^^^^^^ help: remove it entirely
|
|
|
|
|
= note: `-D clippy::single-component-path-imports` implied by `-D warnings`
|
|
= help: to override `-D warnings` add `#[allow(clippy::single_component_path_imports)]`
|
|
|
|
error: this import is redundant
|
|
--> $DIR/single_component_path_imports.rs:32:5
|
|
|
|
|
LL | use regex;
|
|
| ^^^^^^^^^^ help: remove it entirely
|
|
|
|
error: aborting due to 2 previous errors
|
|
|