]> git.lizzy.rs Git - rust.git/blob - src/test/ui/chalkify/type_wf.stderr
Rollup merge of #100713 - Xiretza:parser-expr-session-diagnostics, r=estebank
[rust.git] / src / test / ui / chalkify / type_wf.stderr
1 error[E0277]: the trait bound `{float}: Foo` is not satisfied
2   --> $DIR/type_wf.rs:19:12
3    |
4 LL |         x: 5.0,
5    |            ^^^ the trait `Foo` is not implemented for `{float}`
6    |
7    = help: the trait `Foo` is implemented for `i32`
8 note: required by a bound in `S`
9   --> $DIR/type_wf.rs:6:13
10    |
11 LL | struct S<T: Foo> {
12    |             ^^^ required by this bound in `S`
13
14 error: aborting due to previous error
15
16 For more information about this error, try `rustc --explain E0277`.