fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: invalid path 2 --> $DIR/invalid_paths.rs:15:5 3 | 4LL | pub const TRANSMUTE: [&str; 4] = ["core", "intrinsics", "", "transmute"]; 5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 6 | 7 = note: `-D clippy::invalid-paths` implied by `-D warnings` 8 = help: to override `-D warnings` add `#[allow(clippy::invalid_paths)]` 9 10error: invalid path 11 --> $DIR/invalid_paths.rs:18:5 12 | 13LL | pub const BAD_CRATE_PATH: [&str; 2] = ["bad", "path"]; 14 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 15 16error: invalid path 17 --> $DIR/invalid_paths.rs:21:5 18 | 19LL | pub const BAD_MOD_PATH: [&str; 2] = ["std", "xxx"]; 20 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 21 22error: aborting due to 3 previous errors 23