summary refs log tree commit diff
path: root/src/test/ui/issue-26262.stderr
blob: 2e0a211d06194a5fc5b5b4e65424eb30a9412e4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
error[E0207]: the type parameter `T` is not constrained by the impl trait, self type, or predicates
  --> $DIR/issue-26262.rs:17:6
   |
LL | impl<T: Tr> S<T::Assoc> {
   |      ^ unconstrained type parameter

error[E0207]: the lifetime parameter `'a` is not constrained by the impl trait, self type, or predicates
  --> $DIR/issue-26262.rs:27:6
   |
LL | impl<'a,T: Trait2<'a>> Trait1<<T as Trait2<'a>>::Foo> for T {
   |      ^^ unconstrained lifetime parameter

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0207`.