implement rustc_force_inline parser

This commit is contained in:
Jana Dönszelmann
2025-03-07 16:06:58 +01:00
parent 4f73cd0a6c
commit 0aade73c50
3 changed files with 5 additions and 2 deletions

View File

@@ -235,7 +235,8 @@ pub enum AttributeKind {
/// Represents [`#[repr]`](https://doc.rust-lang.org/stable/reference/type-layout.html#representations).
Repr(ThinVec<(ReprAttr, Span)>),
/// Represents `#[rustc_force_inline]`
RustcForceInline(Span, Option<Symbol>),
/// Represents `#[stable]`, `#[unstable]` and `#[rustc_allowed_through_unstable_modules]`.
Stability {
stability: Stability,