1 error[E0308]: mismatched types
2 --> $DIR/issue-33504.rs:7:13
5 | ----------- unit struct defined here
8 | ^^^^ - this expression has type `{integer}`
10 | expected integer, found struct `Test`
11 | `Test` is interpreted as a unit struct, not a new binding
12 | help: introduce a new binding instead: `other_test`
14 error: aborting due to previous error
16 For more information about this error, try `rustc --explain E0308`.