fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
597 B14 linesraw
1error[E0423]: expected value, found struct `remapped_dep::SomeStruct`
2  --> $DIR/remap-path-prefix-reverse.rs:16:13
3   |
4LL |     let _ = remapped_dep::SomeStruct; // ~ERROR E0423
5   |             ^^^^^^^^^^^^^^^^^^^^^^^^ help: use struct literal syntax instead: `remapped_dep::SomeStruct {}`
6   |
7  ::: remapped-aux/remapped_dep.rs:4:1
8   |
9LL | pub struct SomeStruct {} // This line should be show as part of the error.
10   | --------------------- `remapped_dep::SomeStruct` defined here
11
12error: aborting due to previous error
13
14For more information about this error, try `rustc --explain E0423`.