Port #[non_exhaustive] to the new attribute parsing infrastructure

This commit is contained in:
Jonathan Brouwer
2025-07-03 09:10:49 +02:00
parent 0c4fa2690d
commit 027126ce0b
17 changed files with 88 additions and 49 deletions

View File

@@ -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