rust/compiler/rustc_parse/src/parser
Guillaume Gomez 78968e5959
Rollup merge of #101457 - ChayimFriedman2:struct-field-semi, r=fee1-dead
Recover from using `;` as separator between fields

Partially fixes #101440 (only for record structs).

Doing that for tuple structs is harder as their parsing passes through a bunch of helper functions. I don't know how to do that. But [their error message is better anyway](https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=cc6ee8bb2593596c0cea89d49e79bcb4) and suggests using a comma, even if it doesn't suggest replacing the semicolon with it.
2022-09-06 17:00:28 +02:00
..
attr_wrapper.rs remove redundant clones 2022-09-03 07:58:41 +02:00
attr.rs Always import all tracing macros for the entire crate instead of piecemeal by module 2022-09-01 14:54:27 +00:00
diagnostics.rs Auto merge of #101362 - compiler-errors:unnecessary-let, r=cjgillot 2022-09-06 08:49:54 +00:00
expr.rs UPDATE - into_diagnostic to take a Handler instead of a ParseSess 2022-09-05 02:18:45 -04:00
generics.rs Use AttrVec in more places. 2022-08-22 07:35:33 +10:00
item.rs Rollup merge of #101457 - ChayimFriedman2:struct-field-semi, r=fee1-dead 2022-09-06 17:00:28 +02:00
mod.rs Always import all tracing macros for the entire crate instead of piecemeal by module 2022-09-01 14:54:27 +00:00
nonterminal.rs ast: Introduce some traits to get AST node properties generically 2022-05-11 12:43:27 +03:00
pat.rs Auto merge of #101362 - compiler-errors:unnecessary-let, r=cjgillot 2022-09-06 08:49:54 +00:00
path.rs Always import all tracing macros for the entire crate instead of piecemeal by module 2022-09-01 14:54:27 +00:00
stmt.rs Use AttrVec in more places. 2022-08-22 07:35:33 +10:00
ty.rs Rollup merge of #99915 - WaffleLapkin:recover_keyword_bounds, r=compiler-errors 2022-08-22 11:45:42 +05:30