diff options
| author | bors <bors@rust-lang.org> | 2025-07-23 13:57:12 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2025-07-23 13:57:12 +0000 |
| commit | 4ff3fa01cbdd468851b1b859541ee1c648cde7de (patch) | |
| tree | 05c4213420d2f0a73a8e009c48bc480158bdde8b /compiler/rustc_parse/src | |
| parent | 5a30e4307f0506bed87eeecd171f8366fdbda1dc (diff) | |
| parent | 3303534dc8825258f8a5d3a1b1e4572d55cccd9a (diff) | |
Auto merge of #143843 - JonathanBrouwer:macro-use-parser, r=oli-obk
Ports `#[macro_use]` and `#[macro_escape]` to the new attribute parsing infrastructure Ports `#[macro_use]` and `#[macro_escape]` to the new attribute parsing infrastructure for https://github.com/rust-lang/rust/issues/131229#issuecomment-2971351163 r? `@jdonszelmann` `@oli-obk`
Diffstat (limited to 'compiler/rustc_parse/src')
| -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 |
