]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/writing-to-immutable-vec.nll.stderr
Rollup merge of #57107 - mjbshaw:thread_local_test, r=nikomatsakis
[rust.git] / src / test / ui / writing-to-immutable-vec.nll.stderr
index 96899276b97a5083ac0d1afa258abdbf38ddba86..6ec56f90ca47aeaf462eb6b8a29e31e79a0d8a40 100644 (file)
@@ -1,5 +1,5 @@
 error[E0596]: cannot borrow `v` as mutable, as it is not declared as mutable
-  --> $DIR/writing-to-immutable-vec.rs:14:5
+  --> $DIR/writing-to-immutable-vec.rs:3:5
    |
 LL |     let v: Vec<isize> = vec![1, 2, 3];
    |         - help: consider changing this to be mutable: `mut v`