summary refs log tree commit diff
path: root/src/test/ui/issues/issue-38404.rs
blob: cddd75e267c42b96e1f2cd6a358e4b38c58b03c7 (plain)
1
2
3
4
5
6
trait A<T>: std::ops::Add<Self> + Sized {}
trait B<T>: A<T> {}
trait C<T>: A<B<T, Output=usize>> {}
//~^ ERROR the trait `B` cannot be made into an object

fn main() {}