]>
Commit | Line | Data |
---|---|---|
f20569fa XL |
1 | error: invalid path |
2 | --> $DIR/invalid_paths.rs:17:5 | |
3 | | | |
4 | LL | pub const BAD_CRATE_PATH: [&str; 2] = ["bad", "path"]; | |
5 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
6 | | | |
c295e0f8 | 7 | = note: `-D clippy::invalid-paths` implied by `-D warnings` |
f20569fa XL |
8 | |
9 | error: invalid path | |
10 | --> $DIR/invalid_paths.rs:20:5 | |
11 | | | |
12 | LL | pub const BAD_MOD_PATH: [&str; 2] = ["std", "xxx"]; | |
13 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
14 | ||
15 | error: aborting due to 2 previous errors | |
16 |