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 15:56:47 +00:00
--> $DIR/issue-pr29383.rs:9:14
2018-07-15 21:11:54 +00:00
|
LL | A,
| - `E::A` defined here
...
2019-03-09 12:03:44 +00:00
LL | Some(E::A(..)) => {}
| ^^^^^^^^ help: use this syntax instead: `E::A`
2018-07-15 21:11:54 +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
|
LL | B,
| - `E::B` defined here
...
2019-03-09 12:03:44 +00:00
LL | Some(E::B(..)) => {}
| ^^^^^^^^ 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`.