mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-14 01:25:54 +00:00
17 lines
486 B
Plaintext
17 lines
486 B
Plaintext
error: invalid path
|
|
--> $DIR/invalid_paths.rs:17:5
|
|
|
|
|
LL | pub const BAD_CRATE_PATH: [&str; 2] = ["bad", "path"];
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: `-D clippy::clippy-lints-internal` implied by `-D warnings`
|
|
|
|
error: invalid path
|
|
--> $DIR/invalid_paths.rs:20:5
|
|
|
|
|
LL | pub const BAD_MOD_PATH: [&str; 2] = ["std", "xxx"];
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: aborting due to 2 previous errors
|
|
|