]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/borrowck/borrowck-move-out-of-vec-tail.stderr
Do not use a suggestion to change a binding's name to a type
[rust.git] / src / test / ui / borrowck / borrowck-move-out-of-vec-tail.stderr
index a345c1238f02c3bdb2322c33b72d7fc83dea2fd3..a865812cb4a7c4708fc90d1354659f21fea9ffd6 100644 (file)
@@ -12,8 +12,8 @@ LL |                   Foo { string: b }] => {
    = note: move occurs because these variables have types that don't implement the `Copy` trait
 help: consider removing the `&`
    |
-LL |                 [Foo { string: a },
-LL |                   Foo { string: b }] => {
+LL ~                 [Foo { string: a },
+LL ~                   Foo { string: b }] => {
    |
 
 error: aborting due to previous error