mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-10 15:14:29 +00:00
17 lines
520 B
Text
17 lines
520 B
Text
error: this import is redundant
|
|
--> tests/ui/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
|
|
--> tests/ui/single_component_path_imports.rs:32:5
|
|
|
|
|
LL | use regex;
|
|
| ^^^^^^^^^^ help: remove it entirely
|
|
|
|
error: aborting due to 2 previous errors
|
|
|