fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4560ea788cb

1.39.0
409 B13 linesraw
1error[E0277]: the trait bound `T: Foo` is not satisfied
2  --> $DIR/trait-alias-wf.rs:5:1
3   |
4LL | trait A<T: Foo> {}
5   | --------------- required by `A`
6LL | trait B<T> = A<T>;
7   | ^^^^^^^^^^^^^^^^^^ the trait `Foo` is not implemented for `T`
8   |
9   = help: consider adding a `where T: Foo` bound
10
11error: aborting due to previous error
12
13For more information about this error, try `rustc --explain E0277`.