]> git.proxmox.com Git - rustc.git/blobdiff - src/test/compile-fail/struct-base-wrong-type.rs
New upstream version 1.12.0+dfsg1
[rustc.git] / src / test / compile-fail / struct-base-wrong-type.rs
index 4503e465840fe73bfb6f5b0364f52e0f72f82fb7..3703b15d4db836395e3407e816713d3a67ad4dc4 100644 (file)
@@ -23,7 +23,7 @@ static foo: Foo = Foo { a: 2, ..bar }; //~  ERROR mismatched types
                                        //~| expected struct `Foo`, found struct `Bar`
 static foo_i: Foo = Foo { a: 2, ..4 }; //~  ERROR mismatched types
                                        //~| expected type `Foo`
-                                       //~| found type `_`
+                                       //~| found type `{integer}`
                                        //~| expected struct `Foo`, found integral variable
 
 fn main() {