rewrite #[naked] parser

This commit is contained in:
Jana Dönszelmann
2025-06-13 01:36:52 +02:00
parent 22be76b7e2
commit 82cbc3a35e
10 changed files with 44 additions and 16 deletions

View File

@@ -244,6 +244,9 @@ pub enum AttributeKind {
reason: Option<Symbol>,
},
/// Represents #[naked]
Naked(Span),
/// Represents `#[no_mangle]`
NoMangle(Span),