2023-01-06 05:28:05 -06:00
|
|
|
error[E0423]: expected value, found struct `remapped_dep::SomeStruct`
|
2023-01-06 05:49:07 -06:00
|
|
|
--> $DIR/remap-path-prefix-reverse.rs:16:13
|
2023-01-06 05:28:05 -06:00
|
|
|
|
|
2023-01-06 05:49:07 -06:00
|
|
|
LL | let _ = remapped_dep::SomeStruct; // ~ERROR E0423
|
2023-01-06 05:28:05 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^ help: use struct literal syntax instead: `remapped_dep::SomeStruct {}`
|
|
|
|
|
|
2023-01-06 05:49:07 -06:00
|
|
|
::: remapped-aux/remapped_dep.rs:4:1
|
2023-01-06 05:28:05 -06:00
|
|
|
|
|
|
|
|
LL | pub struct SomeStruct {} // This line should be show as part of the error.
|
|
|
|
| --------------------- `remapped_dep::SomeStruct` defined here
|
|
|
|
|
2023-11-21 09:44:16 -06:00
|
|
|
error: aborting due to 1 previous error
|
2023-01-06 05:28:05 -06:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0423`.
|