rust/tests/ui/resolve/issue-6702.stderr

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

15 lines
452 B
Plaintext
Raw Normal View History

error[E0423]: expected function, tuple struct or tuple variant, found struct `Monster`
2018-12-25 15:56:47 +00:00
--> $DIR/issue-6702.rs:7:14
|
LL | / struct Monster {
LL | | damage: isize
LL | | }
| |_- `Monster` defined here
...
LL | let _m = Monster();
| ^^^^^^^^^ help: use struct literal syntax instead: `Monster { damage: val }`
error: aborting due to previous error
2018-03-03 14:59:40 +00:00
For more information about this error, try `rustc --explain E0423`.