rust/compiler/rustc_parse/src/parser
Xiretza 0757d5f83f Fix condition for "missing struct" diagnostic on tuple structs
The check previously matched this, and suggested adding a missing
`struct`:

pub Foo(...):

It was probably intended to match this instead (semicolon instead of
colon):

pub Foo(...);
2023-02-01 21:50:34 +01:00
..
attr.rs compiler: remove unnecessary imports and qualified paths 2022-12-10 18:45:34 +01:00
attr_wrapper.rs compiler: remove unnecessary imports and qualified paths 2022-12-10 18:45:34 +01:00
diagnostics.rs Rollup merge of #107190 - fmease:fix-81698, r=compiler-errors 2023-01-28 05:20:17 +01:00
expr.rs Use AddToDiagnostic for "use latest edition" help 2023-02-01 21:49:45 +01:00
generics.rs parser: recover from where clauses placed before tuple struct bodies 2023-01-11 17:54:48 +01:00
item.rs Fix condition for "missing struct" diagnostic on tuple structs 2023-02-01 21:50:34 +01:00
mod.rs Remove double spaces after dots in comments 2023-01-17 08:09:33 +00:00
nonterminal.rs rustc_parse: remove ref patterns 2022-11-22 18:49:16 +00:00
pat.rs Migrate some range parsing diagnostics 2023-01-28 21:57:35 +00:00
path.rs recover more unbraced const args 2023-01-27 19:26:04 +01:00
stmt.rs Replace enum ==s with matches where it makes sense 2023-01-30 12:26:26 +00:00
ty.rs Replace enum ==s with matches where it makes sense 2023-01-30 12:26:26 +00:00