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

Fixes #137874. Removes `tests/crashes/137874.rs`; the new test is simpler (defines its own macro) but tests the same thing. The changes to the output of `tests/ui/associated-consts/issue-93835.rs` partly undo the changes seen when `NtTy` was removed in #133436, which is good.
11 lines
322 B
Plaintext
11 lines
322 B
Plaintext
error: invalid base prefix for number literal
|
|
--> $DIR/failed-to-reparse-issue-137874.rs:11:8
|
|
|
|
|
LL | m!(0X0);
|
|
| ^^^ help: try making the prefix lowercase (notice the capitalization): `0x0`
|
|
|
|
|
= note: base prefixes (`0xff`, `0b1010`, `0o755`) are lowercase
|
|
|
|
error: aborting due to 1 previous error
|
|
|