]> git.lizzy.rs Git - rust.git/blob - src/test/ui/chalkify/impl_wf_2.stderr
Rollup merge of #95587 - m-ou-se:std-remove-associated-type-bounds, r=Dylan-DPC
[rust.git] / src / test / ui / chalkify / impl_wf_2.stderr
1 error[E0277]: the trait bound `f32: Foo` is not satisfied
2   --> $DIR/impl_wf_2.rs:25:17
3    |
4 LL |     type Item = f32;
5    |                 ^^^ the trait `Foo` is not implemented for `f32`
6    |
7    = help: the following implementations were found:
8              <i32 as Foo>
9 note: required by a bound in `Bar::Item`
10   --> $DIR/impl_wf_2.rs:8:16
11    |
12 LL |     type Item: Foo;
13    |                ^^^ required by this bound in `Bar::Item`
14
15 error: aborting due to previous error
16
17 For more information about this error, try `rustc --explain E0277`.