fork/rust

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

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

master
463 B17 linesraw
1error[E0559]: variant `Enum::V1` has no field named `x`
2  --> $DIR/issue-80607.rs:7:16
3   |
4LL |     V1(i32),
5   |     -- `Enum::V1` defined here
6...
7LL |     Enum::V1 { x }
8   |                ^ field does not exist
9   |
10help: `Enum::V1` is a tuple variant, use the appropriate syntax
11   |
12LL |     Enum::V1(/* fields */)
13   |     ~~~~~~~~~~~~~~~~~~~~~~
14
15error: aborting due to previous error
16
17For more information about this error, try `rustc --explain E0559`.