1 error[E0769]: tuple variant `E::S` written as struct variant
2 --> $DIR/struct-tuple-field-names.rs:8:9
4 LL | E::S { 0, 1 } => {}
7 help: use the tuple variant pattern syntax instead
12 error[E0769]: tuple variant `S` written as struct variant
13 --> $DIR/struct-tuple-field-names.rs:13:9
18 help: use the tuple variant pattern syntax instead
23 error: aborting due to 2 previous errors
25 For more information about this error, try `rustc --explain E0769`.