]> git.proxmox.com Git - rustc.git/blobdiff - src/test/compile-fail/typeck_type_placeholder_lifetime_2.rs
New upstream version 1.12.0+dfsg1
[rustc.git] / src / test / compile-fail / typeck_type_placeholder_lifetime_2.rs
index 8178335de5931a21d590311714e36a5bb6a65fbf..ec2675ece74b0dea088c6325650d63c22dd86682 100644 (file)
@@ -17,5 +17,6 @@ struct Foo<'a, T:'a> {
 
 pub fn main() {
     let c: Foo<_, usize> = Foo { r: &5 };
-    //~^ ERROR wrong number of type arguments: expected 1, found 2
+    //~^ ERROR E0244
+    //~| NOTE expected 1 type arguments, found 2
 }