summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui-internal/invalid_paths.stderr
blob: 0e85088691765820a5bc313ee9cd0a18a6801410 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
error: invalid path
  --> $DIR/invalid_paths.rs:15:5
   |
LL |     pub const TRANSMUTE: [&str; 4] = ["core", "intrinsics", "", "transmute"];
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: `-D clippy::invalid-paths` implied by `-D warnings`

error: invalid path
  --> $DIR/invalid_paths.rs:18:5
   |
LL |     pub const BAD_CRATE_PATH: [&str; 2] = ["bad", "path"];
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: invalid path
  --> $DIR/invalid_paths.rs:21:5
   |
LL |     pub const BAD_MOD_PATH: [&str; 2] = ["std", "xxx"];
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to 3 previous errors