]> git.proxmox.com Git - rustc.git/blobdiff - src/test/compile-fail/coherence-impls-sized.rs
New upstream version 1.13.0+dfsg1
[rustc.git] / src / test / compile-fail / coherence-impls-sized.rs
index 167067cb5fc0aec45ac48d9c282b1f5703875bbb..79767e5157b14b34e65a7d341de5c87fa068fb7d 100644 (file)
@@ -22,12 +22,15 @@ struct NotSync;
 impl !Sync for NotSync {}
 
 impl Sized for TestE {} //~ ERROR E0322
+//~^ impl of 'Sized' not allowed
 
 impl Sized for MyType {} //~ ERROR E0322
+//~^ impl of 'Sized' not allowed
 
 impl Sized for (MyType, MyType) {} //~ ERROR E0117
 
 impl Sized for &'static NotSync {} //~ ERROR E0322
+//~^ impl of 'Sized' not allowed
 
 impl Sized for [MyType] {} //~ ERROR E0117