mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-22 02:53:20 +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
|
|
|