2022-01-13 05:11:21 -06: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`
|
|
|
|
|
2020-10-28 17:36:07 -05:00
|
|
|
error: invalid path
|
2021-12-06 05:33:31 -06:00
|
|
|
--> $DIR/invalid_paths.rs:18:5
|
2020-10-28 17:36:07 -05:00
|
|
|
|
|
|
|
|
LL | pub const BAD_CRATE_PATH: [&str; 2] = ["bad", "path"];
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: invalid path
|
2021-12-06 05:33:31 -06:00
|
|
|
--> $DIR/invalid_paths.rs:21:5
|
2020-10-28 17:36:07 -05:00
|
|
|
|
|
|
|
|
LL | pub const BAD_MOD_PATH: [&str; 2] = ["std", "xxx"];
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2022-01-13 05:11:21 -06:00
|
|
|
error: aborting due to 3 previous errors
|
2020-10-28 17:36:07 -05:00
|
|
|
|