1 error[E0277]: the trait bound `u8: Foo` is not satisfied
2 --> $DIR/feature-gate-do_not_recommend.rs:19:11
5 | ----- ^^^ the trait `Foo` is not implemented for `u8`
7 | required by a bound introduced by this call
9 = help: the trait `Foo` is implemented for `i32`
10 note: required for `u8` to implement `Bar`
11 --> $DIR/feature-gate-do_not_recommend.rs:13:14
13 LL | impl<T: Foo> Bar for T {
16 | unsatisfied trait bound introduced here
17 note: required by a bound in `stuff`
18 --> $DIR/feature-gate-do_not_recommend.rs:16:13
20 LL | fn stuff<T: Bar>(_: T) {}
21 | ^^^ required by this bound in `stuff`
23 error: aborting due to previous error
25 For more information about this error, try `rustc --explain E0277`.