rust/src/test/ui/xcrate/xcrate-unit-struct.stderr

10 lines
413 B
Plaintext
Raw Normal View History

2018-08-08 07:28:26 -05:00
error[E0423]: expected value, found struct `xcrate_unit_struct::StructWithFields`
--> $DIR/xcrate-unit-struct.rs:19:13
|
LL | let _ = xcrate_unit_struct::StructWithFields;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ did you mean `xcrate_unit_struct::StructWithFields { /* fields */ }`?
error: aborting due to previous error
For more information about this error, try `rustc --explain E0423`.