summary refs log tree commit diff
path: root/src/tools/clippy/tests/ui-internal/invalid_paths.stderr
blob: 7b7b25ce8d8db39b32e86ca92df701a84182b1be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
error: invalid path
  --> tests/ui-internal/invalid_paths.rs:15:5
   |
LL |     pub const TRANSMUTE: [&str; 4] = ["core", "intrinsics", "", "transmute"];
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
note: the lint level is defined here
  --> tests/ui-internal/invalid_paths.rs:1:9
   |
LL | #![deny(clippy::invalid_paths)]
   |         ^^^^^^^^^^^^^^^^^^^^^

error: invalid path
  --> tests/ui-internal/invalid_paths.rs:19:5
   |
LL |     pub const BAD_CRATE_PATH: [&str; 2] = ["bad", "path"];
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

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

error: aborting due to 3 previous errors