mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-20 03:32:52 +00:00
78968e5959
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. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |