rust/compiler/rustc_parse/src
Matthias Krüger bdc4480914
Rollup merge of #119231 - aDotInTheVoid:PatKind-struct-bool-docs, r=compiler-errors
Clairify `ast::PatKind::Struct` presese of `..` by using an enum instead of a bool

The bool is mainly used for when a `..` is present, but it is also set on recovery to avoid errors. The doc comment not describes both of these cases.

See cee794ee98/compiler/rustc_parse/src/parser/pat.rs (L890-L897) for the only place this is constructed.

r? ``@compiler-errors``
2023-12-23 16:23:54 +01:00
..
lexer Add EmitResult associated type to EmissionGuarantee. 2023-12-19 09:52:02 +11:00
parser Rollup merge of #119231 - aDotInTheVoid:PatKind-struct-bool-docs, r=compiler-errors 2023-12-23 16:23:54 +01:00
errors.rs Give DiagnosticBuilder a default type. 2023-12-23 13:23:10 +11:00
lib.rs Rename ParseSess::span_diagnostic as ParseSess::dcx. 2023-12-18 16:06:21 +11:00
validate_attr.rs Rename ParseSess::span_diagnostic as ParseSess::dcx. 2023-12-18 16:06:21 +11:00