]> git.lizzy.rs Git - rust.git/blob - tests/ui/chalkify/type_inference.stderr
Rollup merge of #106661 - mjguzik:linux_statx, r=Mark-Simulacrum
[rust.git] / tests / ui / chalkify / type_inference.stderr
1 error[E0277]: the trait bound `{float}: Bar` is not satisfied
2   --> $DIR/type_inference.rs:27:14
3    |
4 LL |     only_bar(x);
5    |     -------- ^ the trait `Bar` is not implemented for `{float}`
6    |     |
7    |     required by a bound introduced by this call
8    |
9    = help: the following other types implement trait `Bar`:
10              i32
11              u32
12 note: required by a bound in `only_bar`
13   --> $DIR/type_inference.rs:12:16
14    |
15 LL | fn only_bar<T: Bar>(_x: T) { }
16    |                ^^^ required by this bound in `only_bar`
17
18 error: aborting due to previous error
19
20 For more information about this error, try `rustc --explain E0277`.