mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-24 21:53:23 +00:00
22 lines
703 B
Text
22 lines
703 B
Text
error: invalid path
|
|
--> $DIR/invalid_paths.rs:15:5
|
|
|
|
|
LL | pub const TRANSMUTE: [&str; 4] = ["core", "intrinsics", "", "transmute"];
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: `-D clippy::invalid-paths` implied by `-D warnings`
|
|
|
|
error: invalid path
|
|
--> $DIR/invalid_paths.rs:18:5
|
|
|
|
|
LL | pub const BAD_CRATE_PATH: [&str; 2] = ["bad", "path"];
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: invalid path
|
|
--> $DIR/invalid_paths.rs:21:5
|
|
|
|
|
LL | pub const BAD_MOD_PATH: [&str; 2] = ["std", "xxx"];
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: aborting due to 3 previous errors
|
|
|