fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: unexpected `==` 2 --> $DIR/issue-101477-enum.rs:6:7 3 | 4LL | B == 2 5 | ^^ help: try using `=` instead 6 | 7 = help: enum variants can be `Variant`, `Variant = <integer>`, `Variant(Type, ..., TypeN)` or `Variant { fields: Types }` 8 9error: expected item, found `==` 10 --> $DIR/issue-101477-enum.rs:6:7 11 | 12LL | B == 2 13 | ^^ expected item 14 | 15 = note: for a full list of items that can appear in modules, see <https://doc.rust-lang.org/reference/items.html> 16 17error: aborting due to 2 previous errors 18