2020-10-28 17:36:07 -05:00
|
|
|
error: invalid path
|
2021-11-11 05:54:53 -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 04:53:11 -05:00
|
|
|
= note: `-D clippy::invalid-paths` implied by `-D warnings`
|
2020-10-28 17:36:07 -05:00
|
|
|
|
|
|
|
error: invalid path
|
2021-11-11 05:54:53 -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
|
|
|
|
|