]> git.proxmox.com Git - rustc.git/blame - src/test/ui/cross/cross-file-errors/main.stderr
New upstream version 1.50.0+dfsg1
[rustc.git] / src / test / ui / cross / cross-file-errors / main.stderr
CommitLineData
fc512014 1error[E0658]: destructuring assignments are unstable
0731742a 2 --> $DIR/underscore.rs:8:9
2c00a5a8 3 |
0531ce1d 4LL | _
fc512014 5 | ^
2c00a5a8 6 |
0731742a 7 ::: $DIR/main.rs:5:5
2c00a5a8 8 |
0531ce1d 9LL | underscore!();
2c00a5a8 10 | -------------- in this macro invocation
74b04a01 11 |
fc512014
XL
12 = note: see issue #71126 <https://github.com/rust-lang/rust/issues/71126> for more information
13 = help: add `#![feature(destructuring_assignment)]` to the crate attributes to enable
74b04a01 14 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
2c00a5a8 15
fc512014
XL
16error: in expressions, `_` can only be used on the left-hand side of an assignment
17 --> $DIR/underscore.rs:8:9
18 |
19LL | _
20 | ^ `_` not allowed here
21 |
22 ::: $DIR/main.rs:5:5
23 |
24LL | underscore!();
25 | -------------- in this macro invocation
26 |
27 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
28
29error: aborting due to 2 previous errors
0531ce1d 30
fc512014 31For more information about this error, try `rustc --explain E0658`.