rust/src/test/ui/cross/cross-file-errors/main.stderr

32 lines
1.0 KiB
Plaintext
Raw Normal View History

error[E0658]: destructuring assignments are unstable
2018-12-25 09:56:47 -06:00
--> $DIR/underscore.rs:8:9
|
2018-02-22 18:42:32 -06:00
LL | _
| ^
|
2018-12-25 09:56:47 -06:00
::: $DIR/main.rs:5:5
|
2018-02-22 18:42:32 -06:00
LL | underscore!();
| -------------- in this macro invocation
|
= 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
= note: this error originates in the macro `underscore` (in Nightly builds, run with -Z macro-backtrace for more info)
error: in expressions, `_` can only be used on the left-hand side of an assignment
--> $DIR/underscore.rs:8:9
|
LL | _
| ^ `_` not allowed here
|
::: $DIR/main.rs:5:5
|
LL | underscore!();
| -------------- in this macro invocation
|
= note: this error originates in the macro `underscore` (in Nightly builds, run with -Z macro-backtrace for more info)
error: aborting due to 2 previous errors
2018-03-15 10:13:47 -05:00
For more information about this error, try `rustc --explain E0658`.