rust/compiler/rustc_parse
Matthias Krüger bec7011a2c
Rollup merge of #108854 - Ezrashaw:improve-int-idents, r=oli-obk
feat/refactor: improve errors in case of ident with number at start

Improve parser code when we parse a integer (or float) literal but expect an identifier. We emit an error message saying that identifiers can't begin with numbers. This PR just improves that code and expands it to all identifiers. Note that I haven't implemented error recovery (this didn't exist before anyway), I might do that in a follow up PR.
2023-03-09 12:11:53 +01:00
..
locales feat/refactor: improve errors in case of ident with number at start 2023-03-09 21:29:32 +13:00
src Rollup merge of #108854 - Ezrashaw:improve-int-idents, r=oli-obk 2023-03-09 12:11:53 +01:00
Cargo.toml Upgrade thin-vec from 0.2.9 to 0.2.12. 2023-02-21 11:51:55 +11:00