]>
Commit | Line | Data |
---|---|---|
fc512014 | 1 | error[E0658]: destructuring assignments are unstable |
0731742a | 2 | --> $DIR/underscore.rs:8:9 |
2c00a5a8 | 3 | | |
0531ce1d | 4 | LL | _ |
fc512014 | 5 | | ^ |
2c00a5a8 | 6 | | |
0731742a | 7 | ::: $DIR/main.rs:5:5 |
2c00a5a8 | 8 | | |
0531ce1d | 9 | LL | 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 |
16 | error: in expressions, `_` can only be used on the left-hand side of an assignment |
17 | --> $DIR/underscore.rs:8:9 | |
18 | | | |
19 | LL | _ | |
20 | | ^ `_` not allowed here | |
21 | | | |
22 | ::: $DIR/main.rs:5:5 | |
23 | | | |
24 | LL | 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 | ||
29 | error: aborting due to 2 previous errors | |
0531ce1d | 30 | |
fc512014 | 31 | For more information about this error, try `rustc --explain E0658`. |