move naked checks out of check_attr.rs

This commit is contained in:
Jana Dönszelmann
2025-06-13 02:28:33 +02:00
parent 73bcf4c117
commit 5c0a625205
16 changed files with 211 additions and 194 deletions

View File

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