diff options
| author | Jonathan Brouwer <jonathantbrouwer@gmail.com> | 2025-07-03 09:10:49 +0200 |
|---|---|---|
| committer | Jonathan Brouwer <jonathantbrouwer@gmail.com> | 2025-07-04 20:30:42 +0200 |
| commit | 027126ce0b682367dc796c2cdcf844e162fca496 (patch) | |
| tree | 3e2e9d03367ebfc948d0ca542b4265141c1bf549 /compiler/rustc_parse/src/validate_attr.rs | |
| parent | 0c4fa2690de945f062668acfc36b3f8cfbd013e2 (diff) | |
| download | rust-027126ce0b682367dc796c2cdcf844e162fca496.tar.gz rust-027126ce0b682367dc796c2cdcf844e162fca496.zip | |
Port `#[non_exhaustive]` to the new attribute parsing infrastructure
Diffstat (limited to 'compiler/rustc_parse/src/validate_attr.rs')
| -rw-r--r-- | compiler/rustc_parse/src/validate_attr.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_parse/src/validate_attr.rs b/compiler/rustc_parse/src/validate_attr.rs index 47249b38df5..27355a422d1 100644 --- a/compiler/rustc_parse/src/validate_attr.rs +++ b/compiler/rustc_parse/src/validate_attr.rs @@ -303,6 +303,7 @@ fn emit_malformed_attribute( | sym::rustc_allow_const_fn_unstable | sym::naked | sym::no_mangle + | sym::non_exhaustive | sym::must_use | sym::track_caller | sym::link_name |
