diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-12-21 01:30:17 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-21 01:30:17 +0100 |
| commit | fea6c4eb07960bc31ec6a7aa94fa69b501011323 (patch) | |
| tree | b617fe9d86a22f8b4b0827562d96c6bbd821970d /compiler/rustc_parse/src/parser/expr.rs | |
| parent | 3201fe98933ee5363cd8fe77627a970bd862688b (diff) | |
| parent | b3cc9b9620fc99399e7991782188dea772e335da (diff) | |
| download | rust-fea6c4eb07960bc31ec6a7aa94fa69b501011323.tar.gz rust-fea6c4eb07960bc31ec6a7aa94fa69b501011323.zip | |
Rollup merge of #134539 - estebank:restrict-non_exhaustive, r=jieyouxu
Restrict `#[non_exaustive]` on structs with default field values Do not allow users to apply `#[non_exaustive]` to a struct when they have also used default field values.
Diffstat (limited to 'compiler/rustc_parse/src/parser/expr.rs')
0 files changed, 0 insertions, 0 deletions
