]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-38404.stderr
Auto merge of #54624 - arielb1:evaluate-outlives, r=nikomatsakis
[rust.git] / src / test / ui / issues / issue-38404.stderr
1 error[E0038]: the trait `B` cannot be made into an object
2   --> $DIR/issue-38404.rs:13:15
3    |
4 LL | trait C<T>: A<B<T, Output=usize>> {}
5    |               ^^^^^^^^^^^^^^^^^^ the trait `B` cannot be made into an object
6    |
7    = note: the trait cannot use `Self` as a type parameter in the supertraits or where-clauses
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0038`.