]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-15896.stderr
Rollup merge of #91804 - woppopo:const_clone, r=oli-obk
[rust.git] / src / test / ui / issues / issue-15896.stderr
1 error[E0308]: mismatched types
2   --> $DIR/issue-15896.rs:11:11
3    |
4 LL |     let u = match e {
5    |                   - this expression has type `E`
6 LL |         E::B(
7 LL |           Tau{t: x},
8    |           ^^^^^^^^^ expected enum `R`, found struct `Tau`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0308`.