1
Fork 0
rust/compiler/rustc_ast_lowering/src
Matthias Krüger dbc6ec6636
Rollup merge of #118759 - compiler-errors:bare-unit-structs, r=petrochenkov
Support bare unit structs in destructuring assignments

We should be allowed to use destructuring assignments on *bare* unit structs, not just unit structs that are located within other pattern constructors.

Fixes #118753

r? petrochenkov since you reviewed #95380, reassign if you're busy or don't want to review this.
2023-12-13 18:03:33 +01:00
..
asm.rs rustc: Harmonize DefKind and DefPathData 2023-12-03 16:24:56 +03:00
block.rs rustc_ast_lowering: remove ref patterns 2022-11-22 18:49:29 +00:00
errors.rs Disallow arm bodies on never patterns 2023-12-03 12:25:46 +01:00
expr.rs Rollup merge of #118759 - compiler-errors:bare-unit-structs, r=petrochenkov 2023-12-13 18:03:33 +01:00
format.rs remove redundant imports 2023-12-10 10:56:22 +08:00
index.rs remove redundant imports 2023-12-10 10:56:22 +08:00
item.rs Rollup merge of #118766 - compiler-errors:lower-spans, r=spastorino 2023-12-09 14:05:11 +01:00
lib.rs Auto merge of #116952 - compiler-errors:lifetime_capture_rules_2024, r=TaKO8Ki 2023-12-10 15:51:39 +00:00
lifetime_collector.rs Reduce exposure of some things. 2023-11-28 14:32:40 +11:00
pat.rs Rollup merge of #118157 - Nadrieril:never_pat-feature-gate, r=compiler-errors 2023-11-29 12:34:47 +01:00
path.rs Support async gen fn 2023-12-08 17:23:26 +00:00