rust/src/test/ui/issues/issue-17001.stderr

10 lines
306 B
Plaintext
Raw Normal View History

2018-07-15 16:11:54 -05:00
error[E0574]: expected struct, variant or union type, found module `foo`
2018-12-25 09:56:47 -06:00
--> $DIR/issue-17001.rs:4:13
2018-07-15 16:11:54 -05:00
|
2019-03-09 06:03:44 -06:00
LL | let p = foo { x: () };
2018-07-15 16:11:54 -05:00
| ^^^ not a struct, variant or union type
error: aborting due to previous error
2019-10-11 08:23:18 -05:00
For more information about this error, try `rustc --explain E0574`.