]> git.proxmox.com Git - rustc.git/blobdiff - src/test/compile-fail/E0116.rs
New upstream version 1.12.0+dfsg1
[rustc.git] / src / test / compile-fail / E0116.rs
index 4020aa9475aaa3273ac0170565a91ff19d4c233e..f885241eec4c7f1b00a7451fa11d091afb60fc95 100644 (file)
@@ -8,7 +8,10 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-impl Vec<u8> {} //~ ERROR E0116
+impl Vec<u8> {}
+//~^ ERROR E0116
+//~| NOTE impl for type defined outside of crate.
+//~| NOTE define and implement a trait or new type instead
 
 fn main() {
 }