mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-30 16:39:26 +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
|
|
|