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