2022-01-13 12:18:19 +00:00
|
|
|
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`
|
2023-09-12 16:13:53 +00:00
|
|
|
= help: to override `-D warnings` add `#[allow(clippy::invalid_paths)]`
|
2022-01-13 12:18:19 +00:00
|
|
|
|
2020-10-28 22:36:07 +00:00
|
|
|
error: invalid path
|
2021-12-06 11:33:31 +00:00
|
|
|
--> $DIR/invalid_paths.rs:18:5
|
2020-10-28 22:36:07 +00:00
|
|
|
|
|
|
|
|
LL | pub const BAD_CRATE_PATH: [&str; 2] = ["bad", "path"];
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: invalid path
|
2021-12-06 11:33:31 +00:00
|
|
|
--> $DIR/invalid_paths.rs:21:5
|
2020-10-28 22:36:07 +00:00
|
|
|
|
|
|
|
|
LL | pub const BAD_MOD_PATH: [&str; 2] = ["std", "xxx"];
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2022-01-13 12:18:19 +00:00
|
|
|
error: aborting due to 3 previous errors
|
2020-10-28 22:36:07 +00:00
|
|
|
|