2018-11-01 18:17:58 +00:00
|
|
|
error[E0277]: the trait bound `T: Foo` is not satisfied
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/trait-alias-wf.rs:5:1
|
2018-11-01 18:17:58 +00:00
|
|
|
|
|
2018-11-27 10:56:36 +01:00
|
|
|
LL | trait B<T> = A<T>; //~ ERROR `T: Foo` is not satisfied
|
2018-11-01 18:17:58 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^ the trait `Foo` is not implemented for `T`
|
|
|
|
|
|
|
|
|
= help: consider adding a `where T: Foo` bound
|
|
|
|
note: required by `A`
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/trait-alias-wf.rs:4:1
|
2018-11-01 18:17:58 +00:00
|
|
|
|
|
|
|
|
LL | trait A<T: Foo> {}
|
|
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0277`.
|