blob: 9b60116f733dc5a6a4e7943bf473fe94291ed7a7 [file] [log] [blame]
trait A<T>: std::ops::Add<Self> + Sized {}
trait B<T>: A<T> {}
trait C<T>: A<dyn B<T, Output = usize>> {}
//~^ ERROR the trait `B` cannot be made into an object
//~| ERROR the trait `B` cannot be made into an object
//~| ERROR the trait `B` cannot be made into an object
fn main() {}