1 error[E0277]: the trait bound `{float}: Bar` is not satisfied
2 --> $DIR/type_inference.rs:27:14
5 | -------- ^ the trait `Bar` is not implemented for `{float}`
7 | required by a bound introduced by this call
9 = help: the following implementations were found:
12 note: required by a bound in `only_bar`
13 --> $DIR/type_inference.rs:12:16
15 LL | fn only_bar<T: Bar>(_x: T) { }
16 | ^^^ required by this bound in `only_bar`
18 error: aborting due to previous error
20 For more information about this error, try `rustc --explain E0277`.