]>
Commit | Line | Data |
---|---|---|
3dfed10e XL |
1 | error[E0769]: tuple variant `MyOption::MySome` written as struct variant |
2 | --> $DIR/issue-17800.rs:8:9 | |
8faf50e0 XL |
3 | | |
4 | LL | MyOption::MySome { x: 42 } => (), | |
3dfed10e | 5 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `MyOption::MySome(42)` |
8faf50e0 | 6 | |
0bf4aa26 | 7 | error: aborting due to previous error |
8faf50e0 | 8 | |
3dfed10e | 9 | For more information about this error, try `rustc --explain E0769`. |