fork/rust

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

borsAuto merge of #69854 - pietroalbini:stable-next, r=Centrilb8cedc00407

1.42.0
573 B15 linesraw
1error[E0207]: the type parameter `T` is not constrained by the impl trait, self type, or predicates
2  --> $DIR/issue-26262.rs:7:6
3   |
4LL | impl<T: Tr> S<T::Assoc> {
5   |      ^ unconstrained type parameter
6
7error[E0207]: the lifetime parameter `'a` is not constrained by the impl trait, self type, or predicates
8  --> $DIR/issue-26262.rs:17:6
9   |
10LL | impl<'a,T: Trait2<'a>> Trait1<<T as Trait2<'a>>::Foo> for T {
11   |      ^^ unconstrained lifetime parameter
12
13error: aborting due to 2 previous errors
14
15For more information about this error, try `rustc --explain E0207`.