1 // issue #36286 2 3 struct S<T: Clone> { a: T } 4 5 struct NoClone; 6 type A = S<NoClone>; 7 main()8 fn main() { 9 let s = A { a: NoClone }; 10 //~^ ERROR the trait bound `NoClone: Clone` is not satisfied 11 } 12