-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7399580
commit 3d3144d
Showing
2 changed files
with
6 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,10 @@ | ||
error[E0465]: multiple rlib candidates for `regex` found | ||
--> $DIR/single_component_path_imports.rs:5:5 | ||
error: this import is redundant | ||
--> $DIR/single_component_path_imports.rs:5:1 | ||
| | ||
LL | use regex; | ||
| ^^^^^ | ||
| ^^^^^^^^^^ help: remove it entirely | ||
| | ||
note: candidate #1: /home/rui/rust-clippy/target/debug/deps/libregex-eb8182d3b38305f5.rlib | ||
--> $DIR/single_component_path_imports.rs:5:5 | ||
| | ||
LL | use regex; | ||
| ^^^^^ | ||
note: candidate #2: /home/rui/rust-clippy/target/debug/deps/libregex-ecf6ddab71485867.rlib | ||
--> $DIR/single_component_path_imports.rs:5:5 | ||
| | ||
LL | use regex; | ||
| ^^^^^ | ||
|
||
error[E0463]: can't find crate for `regex` | ||
--> $DIR/single_component_path_imports.rs:5:5 | ||
| | ||
LL | use regex; | ||
| ^^^^^ can't find crate | ||
= note: `-D clippy::single-component-path-imports` implied by `-D warnings` | ||
|
||
error: aborting due to 2 previous errors | ||
error: aborting due to previous error | ||
|
||
For more information about this error, try `rustc --explain E0463`. |