fork/rust
git clone https://git.julia.blue/fork/rust
49cae55760d
1.44.0
1error[E0038]: the trait `B` cannot be made into an object 2 --> $DIR/issue-38404.rs:3:15 3 | 4LL | trait A<T>: std::ops::Add<Self> + Sized {} 5 | ------------------- ...because it uses `Self` as a type parameter in this 6LL | trait B<T>: A<T> {} 7 | - this trait cannot be made into an object... 8LL | trait C<T>: A<dyn B<T, Output=usize>> {} 9 | ^^^^^^^^^^^^^^^^^^^^^^ the trait `B` cannot be made into an object 10 11error: aborting due to previous error 12 13For more information about this error, try `rustc --explain E0038`.