fork/rust
git clone https://git.julia.blue/fork/rust
49cae55760d
1.44.0
1error[E0038]: the trait `Bar` cannot be made into an object 2 --> $DIR/issue-28576.rs:7:12 3 | 4LL | pub trait Bar: Foo<Assoc=()> { 5 | --- ------------- 6 | | | | 7 | | | ...because it uses `Self` as a type parameter in this 8 | | ...because it uses `Self` as a type parameter in this 9 | this trait cannot be made into an object... 10LL | fn new(&self, b: & 11LL | / dyn Bar 12LL | | <Assoc=()> 13 | |________________________^ the trait `Bar` cannot be made into an object 14 15error: aborting due to previous error 16 17For more information about this error, try `rustc --explain E0038`.