rust/compiler/rustc_parse/src/parser
Jieyou Xu 79c47278f1
Don't try to recover keyword as non-keyword identifier
There's no sensible recovery scheme here, giving up the recovery is the
right thing to do.
2026-01-02 17:43:51 +08:00
..
tokenstream Use Iterator::eq and (dogfood) eq_by in compiler and library 2025-09-29 08:08:05 +03:00
asm.rs Don't use matches! when == suffices 2025-12-26 20:28:19 +00:00
attr.rs c_variadic: Add future-incompatibility warning for ... arguments without a pattern outside of extern blocks 2025-11-10 14:33:56 +01:00
attr_wrapper.rs Use ThinVec to shrink LazyAttrTokenStreamInner. 2025-04-30 07:12:09 +10:00
cfg_select.rs Move parse_cfg_select to rustc_builtin_macros 2025-11-09 16:08:00 +01:00
diagnostics.rs Tweak wording of diff marker diagnostic 2025-12-25 20:56:03 +00:00
expr.rs Fix parsing of mgca const blocks in array repeat exprs 2025-12-30 11:30:31 -08:00
generics.rs Add contract variable declarations 2025-10-18 15:00:34 +01:00
item.rs Don't try to recover keyword as non-keyword identifier 2026-01-02 17:43:51 +08:00
mod.rs Fix parsing of mgca const blocks in array repeat exprs 2025-12-30 11:30:31 -08:00
nonterminal.rs Remove boxes from ast Pat lists 2025-10-04 12:39:58 -05:00
pat.rs Fix ICE by rejecting const blocks in patterns during AST lowering 2025-12-26 18:14:42 +07:00
path.rs Fix parsing of mgca const blocks in array repeat exprs 2025-12-30 11:30:31 -08:00
stmt.rs Use let...else consistently in user-facing diagnostics 2025-11-24 11:41:52 +09:00
tests.rs Overhaul filename handling for cross-compiler consistency 2025-12-12 07:33:09 +01:00
token_type.rs Experimentally add *heterogeneous* try blocks 2025-12-09 20:18:43 -08:00
ty.rs Fix parsing of mgca const blocks in array repeat exprs 2025-12-30 11:30:31 -08:00