rust/tests/ui/issues/issue-pr29383.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
641 B
Plaintext
Raw Normal View History

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