rust/compiler/rustc_parse/src/parser
Eric Huss d7c0b4f706
Rollup merge of #93019 - 5225225:uppercase-suffix, r=wesleywiser
If an integer is entered with an upper-case base prefix (0Xbeef, 0O755, 0B1010), suggest to make it lowercase

The current error for this case isn't really great, it just complains about the whole thing past the `0` being an invalid suffix.
2022-01-31 20:12:55 -08:00
..
attr.rs Do not add ; to expected tokens list when it's wrong 2021-12-04 11:05:30 -07:00
attr_wrapper.rs Change more x64 size checks to not apply to x32. 2021-09-05 16:42:36 +01:00
diagnostics.rs Improve suggestion for escaping reserved keywords 2022-01-27 14:53:39 -08:00
expr.rs Write UI tests, tweak message 2022-01-31 17:34:10 +00:00
generics.rs remove feature gate and cleanup code 2021-12-10 19:20:31 +00:00
item.rs Introduce a limit to Levenshtein distance computation 2022-01-26 12:38:22 +01:00
mod.rs Do not add ; to expected tokens list when it's wrong 2021-12-04 11:05:30 -07:00
nonterminal.rs Use if-let guards in the codebase 2021-08-25 20:24:35 +02:00
pat.rs review comments: clean up 2021-11-29 18:39:08 +00:00
path.rs Rollup merge of #91150 - dtolnay:qpath, r=davidtwco 2022-01-18 22:00:43 +01:00
stmt.rs Do not add ; to expected tokens list when it's wrong 2021-12-04 11:05:30 -07:00
ty.rs Parse Ty? as Option<Ty> and provide structured suggestion 2022-01-14 00:07:23 +00:00