]>
Commit | Line | Data |
---|---|---|
b7449926 | 1 | error[E0277]: the trait bound `X: Foo<X>` is not satisfied |
f2b60f7d | 2 | --> $DIR/where-clause-method-substituion.rs:20:16 |
b7449926 XL |
3 | | |
4 | LL | 1.method::<X>(); | |
f2b60f7d | 5 | | ^ the trait `Foo<X>` is not implemented for `X` |
3c0e092e XL |
6 | | |
7 | note: required by a bound in `Bar::method` | |
8 | --> $DIR/where-clause-method-substituion.rs:6:34 | |
9 | | | |
10 | LL | fn method<B>(&self) where A: Foo<B>; | |
11 | | ^^^^^^ required by this bound in `Bar::method` | |
b7449926 XL |
12 | |
13 | error: aborting due to previous error | |
14 | ||
15 | For more information about this error, try `rustc --explain E0277`. |