1 error[E0308]: mismatched types
2 --> $DIR/slightly-nice-generic-literal-messages.rs:7:9
4 LL | match Foo(1.1, marker::PhantomData) {
5 | ----------------------------- this expression has type `Foo<{float}, _>`
7 | ^ expected struct `Foo`, found integer
9 = note: expected struct `Foo<{float}, _>`
10 found type `{integer}`
12 error: aborting due to previous error
14 For more information about this error, try `rustc --explain E0308`.