mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-23 11:33:19 +00:00
23 lines
817 B
Text
23 lines
817 B
Text
error: invalid path
|
|
--> tests/ui-internal/invalid_paths.rs:15:5
|
|
|
|
|
LL | pub const TRANSMUTE: [&str; 4] = ["core", "intrinsics", "", "transmute"];
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: `-D clippy::invalid-paths` implied by `-D warnings`
|
|
= help: to override `-D warnings` add `#[allow(clippy::invalid_paths)]`
|
|
|
|
error: invalid path
|
|
--> tests/ui-internal/invalid_paths.rs:18:5
|
|
|
|
|
LL | pub const BAD_CRATE_PATH: [&str; 2] = ["bad", "path"];
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: invalid path
|
|
--> tests/ui-internal/invalid_paths.rs:21:5
|
|
|
|
|
LL | pub const BAD_MOD_PATH: [&str; 2] = ["std", "xxx"];
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: aborting due to 3 previous errors
|
|
|