blob: 1edca391e8fd01eb9e6b7e877d7ce4f6ab64f2fe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
error: unexpected `==`
--> $DIR/issue-101477-enum.rs:6:7
|
LL | B == 2
| ^^ help: try using `=` instead
|
= help: enum variants can be `Variant`, `Variant = <integer>`, `Variant(Type, ..., TypeN)` or `Variant { fields: Types }`
error: expected item, found `==`
--> $DIR/issue-101477-enum.rs:6:7
|
LL | B == 2
| ^^ expected item
error: aborting due to 2 previous errors
|