ec38746b4a
Since clippy_utils doesn't depend on the itertools crate anymore, the lint can't find the path.
17 lines
478 B
Plaintext
17 lines
478 B
Plaintext
error: invalid path
|
|
--> $DIR/invalid_paths.rs:17:5
|
|
|
|
|
LL | pub const BAD_CRATE_PATH: [&str; 2] = ["bad", "path"];
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: `-D clippy::invalid-paths` implied by `-D warnings`
|
|
|
|
error: invalid path
|
|
--> $DIR/invalid_paths.rs:20:5
|
|
|
|
|
LL | pub const BAD_MOD_PATH: [&str; 2] = ["std", "xxx"];
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: aborting due to 2 previous errors
|
|
|