]> git.lizzy.rs Git - rust.git/blob - src/test/ui/feature-gates/feature-gate-type_changing_struct_update.stderr
Rollup merge of #90087 - calebcartwright:rustfmt-subtree, r=calebcartwright
[rust.git] / src / test / ui / feature-gates / feature-gate-type_changing_struct_update.stderr
1 error[E0308]: mismatched types
2   --> $DIR/feature-gate-type_changing_struct_update.rs:20:11
3    |
4 LL |         ..m1
5    |           ^^ expected struct `State2`, found struct `State1`
6    |
7    = note: expected struct `Machine<State2>`
8               found struct `Machine<State1>`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0308`.