fork/rust

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

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

master
504 B17 linesraw
1error: expected one of `(`, `,`, `=`, `{`, or `}`, found `:`
2  --> $DIR/issue-103869.rs:5:8
3   |
4LL | enum VecOrMap {
5   |      -------- while parsing this enum
6LL |
7LL |     vec: Vec<usize>,
8   |        ^ expected one of `(`, `,`, `=`, `{`, or `}`
9   |
10   = help: enum variants can be `Variant`, `Variant = <integer>`, `Variant(Type, ..., TypeN)` or `Variant { fields: Types }`
11help: perhaps you meant to use `struct` here
12   |
13LL | struct VecOrMap {
14   | ~~~~~~
15
16error: aborting due to previous error
17