1 error[E0038]: the trait `Bar` cannot be made into an object
2 --> $DIR/issue-28576.rs:17:12
4 LL | / Bar //~ ERROR the trait `Bar` cannot be made into an object
6 | |________________________^ the trait `Bar` cannot be made into an object
8 = note: the trait cannot use `Self` as a type parameter in the supertraits or where-clauses
10 error: aborting due to previous error
12 For more information about this error, try `rustc --explain E0038`.