1 // Regression test for #29859, supertrait version. This example
2 // allowed arbitrary trait bounds to be synthesized.
5 impl<T: Magic> Magic for T {}
7 fn copy<T: Magic>(x: T) -> (T, T) { (x, x) }
13 let (a, b) = copy(NoClone); //~ ERROR E0275
14 println!("{:?} {:?}", a, b);