mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-02 10:18:25 +00:00

When encountering `use _;`, `use _::*'` or similar, do not emit two errors for that single mistake. This also side-steps the issue of resolve errors suggesting adding a crate named `_` to `Cargo.toml`.
9 lines
247 B
Plaintext
9 lines
247 B
Plaintext
error: expected identifier, found reserved identifier `_`
|
|
--> $DIR/multiple-extern-by-macro-for-underscore.rs:18:11
|
|
|
|
|
LL | use ::_;
|
|
| ^ expected identifier, found reserved identifier
|
|
|
|
error: aborting due to 1 previous error
|
|
|