Files
rust/src
Matthias Krüger f002221a53 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 https://github.com/rust-lang/rust/blob/cee794ee98d49b45a55ba225680d98e0c4672736/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
..
2023-12-10 10:56:22 +08:00
2023-12-10 10:56:22 +08:00
2023-12-23 13:23:28 +11:00
2023-12-19 12:26:20 -08:00
2023-12-10 10:56:22 +08:00
2023-12-19 12:26:20 -08:00
2023-12-10 10:56:22 +08:00
2023-12-10 10:56:22 +08:00
2023-12-19 12:26:20 -08:00
2023-12-19 12:26:20 -08:00
2023-12-10 10:56:22 +08:00
2020-03-26 21:25:34 -05:00
2023-12-03 12:25:46 +01:00
2020-03-26 21:25:34 -05:00
2023-12-20 19:39:46 +01:00
2023-12-19 12:26:20 -08:00