]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/vec_init_then_push.stderr
Addition `manual_map` test for `unsafe` blocks
[rust.git] / tests / ui / vec_init_then_push.stderr
index 819ed47d0991989966686299a5455308042fb587..9ec3e10e62470559cb304b27c6ea89f7f6700bf9 100644 (file)
@@ -24,7 +24,7 @@ LL | |     cap_err.push(2);
    | |____________________^ help: consider using the `vec![]` macro: `let mut cap_err = vec![..];`
 
 error: calls to `push` immediately after creation
-  --> $DIR/vec_init_then_push.rs:19:5
+  --> $DIR/vec_init_then_push.rs:23:5
    |
 LL | /     new_err = Vec::new();
 LL | |     new_err.push(0);