blob: 5cfb968404df6774a156129b07bcbd0a9d73f952 [file] [log] [blame]
error[E0277]: the trait bound `f64: Bar` is not satisfied
--> $DIR/type_inference.rs:27:5
|
LL | fn only_bar<T: Bar>(_x: T) { }
| --- required by this bound in `only_bar`
...
LL | only_bar(x);
| ^^^^^^^^ the trait `Bar` is not implemented for `f64`
error: aborting due to previous error
For more information about this error, try `rustc --explain E0277`.