]> git.lizzy.rs Git - rust.git/blob - src/test/ui/slightly-nice-generic-literal-messages.stderr
Auto merge of #54624 - arielb1:evaluate-outlives, r=nikomatsakis
[rust.git] / src / test / ui / slightly-nice-generic-literal-messages.stderr
1 error[E0308]: mismatched types
2   --> $DIR/slightly-nice-generic-literal-messages.rs:17:9
3    |
4 LL |         1 => {}
5    |         ^ expected struct `Foo`, found integral variable
6    |
7    = note: expected type `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`.