rust/tests/ui/issues/issue-21449.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
319 B
Plaintext
Raw Normal View History

2018-07-15 21:11:54 +00:00
error[E0574]: expected struct, variant or union type, found module `MyMod`
2018-12-25 15:56:47 +00:00
--> $DIR/issue-21449.rs:4:17
2018-07-15 21:11:54 +00:00
|
LL | let myVar = MyMod { T: 0 };
| ^^^^^ not a struct, variant or union type
error: aborting due to previous error
2019-10-11 13:23:18 +00:00
For more information about this error, try `rustc --explain E0574`.