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

10 lines
375 B
Plaintext
Raw Normal View History

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