diff options
| author | Jonathan Brouwer <jonathantbrouwer@gmail.com> | 2025-07-12 17:42:39 +0200 |
|---|---|---|
| committer | Jonathan Brouwer <jonathantbrouwer@gmail.com> | 2025-07-23 13:33:23 +0200 |
| commit | a460b46d0f7d95a0a07bad444606f6fd53aea62c (patch) | |
| tree | bd643b967c24546883f50d13be6afeaf83d9c9c4 /compiler/rustc_parse/src/validate_attr.rs | |
| parent | a7a1618e6c835f1f00940ad72203d05808209a0d (diff) | |
| download | rust-a460b46d0f7d95a0a07bad444606f6fd53aea62c.tar.gz rust-a460b46d0f7d95a0a07bad444606f6fd53aea62c.zip | |
Ports `#[macro_use]` and `#[macro_escape]` 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 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_parse/src/validate_attr.rs b/compiler/rustc_parse/src/validate_attr.rs index cca621103b5..ed7fb774908 100644 --- a/compiler/rustc_parse/src/validate_attr.rs +++ b/compiler/rustc_parse/src/validate_attr.rs @@ -303,6 +303,8 @@ pub fn check_builtin_meta_item( | sym::cold | sym::target_feature | sym::rustc_allow_const_fn_unstable + | sym::macro_use + | sym::macro_escape | sym::naked | sym::no_mangle | sym::non_exhaustive |
