]> git.lizzy.rs Git - rust.git/blob - tests/ui/errors/remap-path-prefix-reverse.local-self.stderr
Auto merge of #107843 - bjorn3:sync_cg_clif-2023-02-09, r=bjorn3
[rust.git] / tests / ui / errors / remap-path-prefix-reverse.local-self.stderr
1 error[E0423]: expected value, found struct `remapped_dep::SomeStruct`
2   --> $DIR/remap-path-prefix-reverse.rs:16:13
3    |
4 LL |     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    |
9 LL | pub struct SomeStruct {} // This line should be show as part of the error.
10    | --------------------- `remapped_dep::SomeStruct` defined here
11
12 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0423`.