2020-11-11 07:15:15 -06:00
|
|
|
error[E0658]: destructuring assignments are unstable
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/underscore.rs:8:9
|
2018-01-26 09:33:05 -06:00
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | _
|
2020-11-11 07:15:15 -06:00
|
|
|
| ^
|
2021-06-10 06:52:00 -05:00
|
|
|
|
|
2018-12-25 09:56:47 -06:00
|
|
|
::: $DIR/main.rs:5:5
|
2018-01-26 09:33:05 -06:00
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | underscore!();
|
2018-01-26 09:33:05 -06:00
|
|
|
| -------------- in this macro invocation
|
2019-12-16 07:56:47 -06:00
|
|
|
|
|
2020-11-11 07:15:15 -06:00
|
|
|
= note: see issue #71126 <https://github.com/rust-lang/rust/issues/71126> for more information
|
|
|
|
= help: add `#![feature(destructuring_assignment)]` to the crate attributes to enable
|
2021-02-13 13:52:25 -06:00
|
|
|
= note: this error originates in the macro `underscore` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2018-01-26 09:33:05 -06:00
|
|
|
|
2020-11-11 07:15:15 -06:00
|
|
|
error: in expressions, `_` can only be used on the left-hand side of an assignment
|
|
|
|
--> $DIR/underscore.rs:8:9
|
|
|
|
|
|
|
|
|
LL | _
|
|
|
|
| ^ `_` not allowed here
|
2021-06-10 06:52:00 -05:00
|
|
|
|
|
2020-11-11 07:15:15 -06:00
|
|
|
::: $DIR/main.rs:5:5
|
|
|
|
|
|
|
|
|
LL | underscore!();
|
|
|
|
| -------------- in this macro invocation
|
|
|
|
|
|
2021-02-13 13:52:25 -06:00
|
|
|
= note: this error originates in the macro `underscore` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2020-11-11 07:15:15 -06:00
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
2018-03-15 10:13:47 -05:00
|
|
|
|
2020-11-11 07:15:15 -06:00
|
|
|
For more information about this error, try `rustc --explain E0658`.
|