]> git.proxmox.com Git - rustc.git/blobdiff - src/test/compile-fail/coherence_copy_like_err_fundamental_struct_tuple.rs
Imported Upstream version 1.9.0+dfsg1
[rustc.git] / src / test / compile-fail / coherence_copy_like_err_fundamental_struct_tuple.rs
index a6b62d17bc4e6aa9ac34540d80911fa8b0865294..8e3e3f31cb5f1434356b5b9aa5bfd199a475cf8f 100644 (file)
@@ -21,10 +21,10 @@ struct MyType { x: i32 }
 
 trait MyTrait { }
 
-impl<T: lib::MyCopy> MyTrait for T { } //~ ERROR E0119
+impl<T: lib::MyCopy> MyTrait for T { }
 
 // Tuples are not fundamental.
-impl MyTrait for lib::MyFundamentalStruct<(MyType,)> { }
+impl MyTrait for lib::MyFundamentalStruct<(MyType,)> { } //~ ERROR E0119
 
 #[rustc_error]
 fn main() { }