1 error[E0308]: mismatched types
2 --> $DIR/feature-gate-type_changing_struct_update.rs:20:11
5 | ^^ expected struct `State2`, found struct `State1`
7 = note: expected struct `Machine<State2>`
8 found struct `Machine<State1>`
10 error: aborting due to previous error
12 For more information about this error, try `rustc --explain E0308`.