os-rust/src/test/ui/where-clauses/where-clause-method-substituion.stderr

10 lines
313 B
Text
Raw Normal View History

2018-08-08 14:28:26 +02:00
error[E0277]: the trait bound `X: Foo<X>` is not satisfied
2018-12-25 08:56:47 -07:00
--> $DIR/where-clause-method-substituion.rs:20:7
2018-08-08 14:28:26 +02:00
|
LL | 1.method::<X>();
| ^^^^^^ the trait `Foo<X>` is not implemented for `X`
error: aborting due to previous error
For more information about this error, try `rustc --explain E0277`.