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
454 B
Plaintext
Raw Normal View History

error[E0423]: expected function, tuple struct or tuple variant, found struct `Monster`
2018-12-25 09:56:47 -06: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 1 previous error
2018-03-03 08:59:40 -06:00
For more information about this error, try `rustc --explain E0423`.