]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-28576.stderr
Auto merge of #54720 - davidtwco:issue-51191, r=nikomatsakis
[rust.git] / src / test / ui / issues / issue-28576.stderr
1 error[E0038]: the trait `Bar` cannot be made into an object
2   --> $DIR/issue-28576.rs:17:12
3    |
4 LL | /            Bar //~ ERROR the trait `Bar` cannot be made into an object
5 LL | |               <Assoc=()>
6    | |________________________^ the trait `Bar` cannot be made into an object
7    |
8    = note: the trait cannot use `Self` as a type parameter in the supertraits or where-clauses
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0038`.