]> git.proxmox.com Git - rustc.git/blobdiff - tests/ui/type/type-check/point-at-inference-3.fixed
New upstream version 1.70.0+dfsg1
[rustc.git] / tests / ui / type / type-check / point-at-inference-3.fixed
index edd4adf8bd256d6b69b501b0abd875a1fbc3d95f..15a3b580568d6228164a4b6296c9b5de623b96f0 100644 (file)
@@ -2,7 +2,8 @@
 fn main() {
     let mut v = Vec::new();
     v.push(0i32);
-    //~^ NOTE this is of type `i32`, which causes `v` to be inferred as `Vec<i32>`
+    //~^ NOTE this argument has type `i32`...
+    //~| NOTE ... which causes `v` to have type `Vec<i32>`
     v.push(0);
     v.push(1i32); //~ ERROR mismatched types
     //~^ NOTE expected `i32`, found `u32`