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