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