1 error[E0308]: mismatched types
2 --> $DIR/issue-33504.rs:7:13
5 | ^^^^ expected integer, found struct `Test`
7 = note: expected type `{integer}`
10 error: aborting due to previous error
12 For more information about this error, try `rustc --explain E0308`.