rust/compiler/rustc_ast/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
..
attr Add spacing information to delimiters. 2023-12-11 09:36:40 +11:00
expand Generate better function argument names in global_allocator expansion 2023-08-06 07:36:05 -07:00
util Plumb awaitness of for loops 2023-12-19 12:26:20 -08:00
ast_traits.rs Fix uninlined_format_args for some compiler crates 2023-01-05 19:01:12 +01:00
ast.rs Rollup merge of #119231 - aDotInTheVoid:PatKind-struct-bool-docs, r=compiler-errors 2023-12-23 16:23:54 +01:00
entry.rs Format all the let chains in compiler 2023-10-13 08:59:36 +00:00
format.rs get auto traits for parallel rustc 2023-08-02 16:21:45 +08:00
lib.rs Add HashStable_NoContext to simplify HashStable implementations in rustc_type_ir 2023-11-21 05:49:44 +00:00
mut_visit.rs Auto merge of #118847 - eholk:for-await, r=compiler-errors 2023-12-22 14:17:10 +00:00
node_id.rs Replace no_ord_impl with orderable. 2023-11-22 18:38:17 +11:00
ptr.rs make rustc compilable 2023-04-16 07:25:13 +00:00
token.rs remove redundant imports 2023-12-10 10:56:22 +08:00
tokenstream.rs Add spacing information to delimiters. 2023-12-11 09:36:40 +11:00
visit.rs Plumb awaitness of for loops 2023-12-19 12:26:20 -08:00