rust/compiler/rustc_ast_lowering
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
..
src Rollup merge of #118759 - compiler-errors:bare-unit-structs, r=petrochenkov 2023-12-13 18:03:33 +01:00
Cargo.toml Clean up rustc_*/Cargo.toml. 2023-10-30 08:46:02 +11:00
messages.ftl Disallow arm bodies on never patterns 2023-12-03 12:25:46 +01:00