1 error[E0277]: the trait bound `T: Bar` is not satisfied
2 --> $DIR/trait-where-clause.rs:14:5
5 | ^^^^ the trait `Bar` is not implemented for `T`
7 note: required by a bound in `Foo::b`
8 --> $DIR/trait-where-clause.rs:8:24
10 LL | fn b() where Self: ~const Bar;
11 | ^^^^^^^^^^ required by this bound in `Foo::b`
12 help: consider further restricting this bound
14 LL | fn test1<T: Foo + Bar>() {
17 error[E0277]: the trait bound `T: Bar` is not satisfied
18 --> $DIR/trait-where-clause.rs:16:12
21 | ^ the trait `Bar` is not implemented for `T`
23 note: required by a bound in `Foo::c`
24 --> $DIR/trait-where-clause.rs:9:13
26 LL | fn c<T: ~const Bar>();
27 | ^^^^^^^^^^ required by this bound in `Foo::c`
28 help: consider further restricting this bound
30 LL | fn test1<T: Foo + Bar>() {
33 error: aborting due to 2 previous errors
35 For more information about this error, try `rustc --explain E0277`.