]> git.proxmox.com Git - rustc.git/blob - tests/ui/where-clauses/where-clause-method-substituion.stderr
New upstream version 1.68.2+dfsg1
[rustc.git] / tests / ui / where-clauses / where-clause-method-substituion.stderr
1 error[E0277]: the trait bound `X: Foo<X>` is not satisfied
2 --> $DIR/where-clause-method-substituion.rs:20:16
3 |
4 LL | 1.method::<X>();
5 | ^ the trait `Foo<X>` is not implemented for `X`
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`
12
13 error: aborting due to previous error
14
15 For more information about this error, try `rustc --explain E0277`.