rust/compiler/rustc_parse
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
..
src Rollup merge of #101457 - ChayimFriedman2:struct-field-semi, r=fee1-dead 2022-09-06 17:00:28 +02:00
Cargo.toml migrate ambiguous plus diagnostic 2022-04-25 22:55:15 +02:00