mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 18:53:39 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
16 lines
442 B
Plaintext
16 lines
442 B
Plaintext
error: in expressions, `_` can only be used on the left-hand side of an assignment
|
|
--> $DIR/underscore.rs:6: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 1 previous error
|
|
|