2019-10-15 00:20:50 +00:00
|
|
|
error[E0532]: expected tuple struct or tuple variant, found unit variant `E::A`
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/issue-pr29383.rs:9:14
|
2018-07-15 21:11:54 +00:00
|
|
|
|
|
2021-05-02 09:46:29 +00:00
|
|
|
LL | A,
|
|
|
|
| - `E::A` defined here
|
|
|
|
...
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | Some(E::A(..)) => {}
|
2021-05-02 09:46:29 +00:00
|
|
|
| ^^^^^^^^ help: use this syntax instead: `E::A`
|
2018-07-15 21:11:54 +00:00
|
|
|
|
2019-10-15 00:20:50 +00:00
|
|
|
error[E0532]: expected tuple struct or tuple variant, found unit variant `E::B`
|
|
|
|
--> $DIR/issue-pr29383.rs:11:14
|
2018-07-15 21:11:54 +00:00
|
|
|
|
|
2021-05-02 09:46:29 +00:00
|
|
|
LL | B,
|
|
|
|
| - `E::B` defined here
|
|
|
|
...
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | Some(E::B(..)) => {}
|
2021-05-02 09:46:29 +00:00
|
|
|
| ^^^^^^^^ help: use this syntax instead: `E::B`
|
2018-07-15 21:11:54 +00:00
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0532`.
|