about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/expr.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-12-21 01:30:17 +0100
committerGitHub <noreply@github.com>2024-12-21 01:30:17 +0100
commitfea6c4eb07960bc31ec6a7aa94fa69b501011323 (patch)
treeb617fe9d86a22f8b4b0827562d96c6bbd821970d /compiler/rustc_parse/src/parser/expr.rs
parent3201fe98933ee5363cd8fe77627a970bd862688b (diff)
parentb3cc9b9620fc99399e7991782188dea772e335da (diff)
downloadrust-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