]> git.lizzy.rs Git - rust.git/blob - src/test/ui/slightly-nice-generic-literal-messages.stderr
Rollup merge of #91939 - GKFX:feature-91866, r=cjgillot
[rust.git] / src / test / ui / slightly-nice-generic-literal-messages.stderr
1 error[E0308]: mismatched types
2   --> $DIR/slightly-nice-generic-literal-messages.rs:7:9
3    |
4 LL |         1 => {}
5    |         ^ expected struct `Foo`, found integer
6    |
7    = note: expected struct `Foo<{float}, _>`
8                 found type `{integer}`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0308`.