]> git.proxmox.com Git - rustc.git/blobdiff - src/test/compile-fail/trait-bounds-on-structs-and-enums-locals.rs
Imported Upstream version 1.9.0+dfsg1
[rustc.git] / src / test / compile-fail / trait-bounds-on-structs-and-enums-locals.rs
index 520691fbecc481b34985c4bb65c40cd6074609a1..9e680d17fb9ef5a8c865b8e1834d655f3f712109 100644 (file)
@@ -18,10 +18,10 @@ struct Foo<T:Trait> {
 
 fn main() {
     let foo = Foo {
-    //~^ ERROR not implemented
+    //~^ ERROR E0277
         x: 3
     };
 
     let baz: Foo<usize> = loop { };
-    //~^ ERROR not implemented
+    //~^ ERROR E0277
 }