2018-07-15 16:11:54 -05:00
|
|
|
error[E0308]: mismatched types
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/issue-15896.rs:11:11
|
2018-07-15 16:11:54 -05:00
|
|
|
|
|
2019-01-05 19:08:15 -06:00
|
|
|
LL | let u = match e {
|
2020-09-02 02:40:56 -05:00
|
|
|
| - this expression has type `E`
|
2019-01-05 19:08:15 -06:00
|
|
|
LL | E::B(
|
2018-07-15 16:11:54 -05:00
|
|
|
LL | Tau{t: x},
|
2023-01-02 20:00:33 -06:00
|
|
|
| ^^^^^^^^^ expected `R`, found `Tau`
|
2018-07-15 16:11:54 -05:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0308`.
|