]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/issues/issue-53840.stderr
Auto merge of #57108 - Mark-Simulacrum:license-remove, r=pietroalbini
[rust.git] / src / test / ui / issues / issue-53840.stderr
index 599abe95bb619557e1de5237c913d4e50749dbea..0032f60a221f830adb4b8921d63a210cf2052241 100644 (file)
@@ -1,5 +1,5 @@
 error[E0009]: cannot bind by-move and by-ref in the same pattern
-  --> $DIR/issue-53840.rs:22:16
+  --> $DIR/issue-53840.rs:13:16
    |
 LL |         E::Foo(a, b, ref c) => {}
    |                ^  ^  ----- both by-ref and by-move used
@@ -8,7 +8,7 @@ LL |         E::Foo(a, b, ref c) => {}
    |                by-move pattern here
 
 error[E0009]: cannot bind by-move and by-ref in the same pattern
-  --> $DIR/issue-53840.rs:26:14
+  --> $DIR/issue-53840.rs:17:14
    |
 LL |         Bar {a, ref b} => {}
    |              ^  ----- both by-ref and by-move used