summary refs log tree commit diff
path: root/src/tools/clippy/tests/ui-internal/invalid_paths.stderr
blob: 7bde37667be42b2e6521fdcbdd3b9e7319d45930 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
error: invalid path
  --> tests/ui-internal/invalid_paths.rs:15:5
   |
LL |     pub const TRANSMUTE: [&str; 4] = ["core", "intrinsics", "", "transmute"];
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: `-D clippy::invalid-paths` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(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