1 error[E0308]: mismatched types
2 --> $DIR/issue-15896.rs:11:11
5 | - this match expression has type `main::R`
8 | ^^^^^^^^^ expected enum `main::R`, found struct `main::Tau`
10 = note: expected type `main::R`
11 found type `main::Tau`
13 error: aborting due to previous error
15 For more information about this error, try `rustc --explain E0308`.