blob: 4a9bf610647a723d2cb8fc7d702e58cf8faf94c4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
error[E0769]: tuple variant `X::Y` written as struct variant
--> $DIR/issue-41314.rs:7:9
|
LL | X::Y { number } => {}
| ^^^^^^^^^^^^^^^
|
help: use the tuple variant pattern syntax instead
|
LL | X::Y(number) => {}
| ~~~~~~~~
error: aborting due to previous error
For more information about this error, try `rustc --explain E0769`.
|