2022-01-13 06:18:19 -06:00
|
|
|
error: invalid path
|
2024-02-17 06:16:29 -06:00
|
|
|
--> tests/ui-internal/invalid_paths.rs:15:5
|
2022-01-13 06:18:19 -06:00
|
|
|
|
|
|
|
|
LL | pub const TRANSMUTE: [&str; 4] = ["core", "intrinsics", "", "transmute"];
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: `-D clippy::invalid-paths` implied by `-D warnings`
|
2023-09-07 14:43:06 -05:00
|
|
|
= help: to override `-D warnings` add `#[allow(clippy::invalid_paths)]`
|
2022-01-13 06:18:19 -06:00
|
|
|
|
2020-10-28 17:36:07 -05:00
|
|
|
error: invalid path
|
2024-02-17 06:16:29 -06:00
|
|
|
--> tests/ui-internal/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
|
2024-02-17 06:16:29 -06:00
|
|
|
--> tests/ui-internal/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 06:18:19 -06:00
|
|
|
error: aborting due to 3 previous errors
|
2020-10-28 17:36:07 -05:00
|
|
|
|