fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
452 B14 linesraw
1error[E0423]: expected function, tuple struct or tuple variant, found struct `Monster`
2  --> $DIR/issue-6702.rs:7:14
3   |
4LL | / struct Monster {
5LL | |     damage: isize
6LL | | }
7   | |_- `Monster` defined here
8...
9LL |       let _m = Monster();
10   |                ^^^^^^^^^ help: use struct literal syntax instead: `Monster { damage: val }`
11
12error: aborting due to previous error
13
14For more information about this error, try `rustc --explain E0423`.