]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/error-codes/E0007.stderr
New upstream version 1.26.0+dfsg1
[rustc.git] / src / test / ui / error-codes / E0007.stderr
index 1370cacd7cbfaec674623525e98d432ff18d5c74..f662365b8f18582f98b567c8a761155dccad453b 100644 (file)
@@ -1,14 +1,16 @@
 error[E0007]: cannot bind by-move with sub-bindings
   --> $DIR/E0007.rs:14:9
    |
-14 |         op_string @ Some(s) => {},
+LL |         op_string @ Some(s) => {},
    |         ^^^^^^^^^^^^^^^^^^^ binds an already bound by-move value by moving it
 
 error[E0303]: pattern bindings are not allowed after an `@`
   --> $DIR/E0007.rs:14:26
    |
-14 |         op_string @ Some(s) => {},
+LL |         op_string @ Some(s) => {},
    |                          ^ not allowed after `@`
 
 error: aborting due to 2 previous errors
 
+Some errors occurred: E0007, E0303.
+For more information about an error, try `rustc --explain E0007`.