fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0769]: tuple variant `MyOption::MySome` written as struct variant 2 --> $DIR/issue-17800.rs:8:9 3 | 4LL | MyOption::MySome { x: 42 } => (), 5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ 6 | 7help: use the tuple variant pattern syntax instead 8 | 9LL | MyOption::MySome(42) => (), 10 | ~~~~ 11 12error: aborting due to previous error 13 14For more information about this error, try `rustc --explain E0769`.