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"];
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2021-09-28 12:03:12 -05:00
|
|
|
= 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:21:5
|
2020-10-28 17:36:07 -05:00
|
|
|
|
|
|
|
|
LL | pub const BAD_MOD_PATH: [&str; 2] = ["std", "xxx"];
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|