diff options
| author | Jana Dönszelmann <jana@donsz.nl> | 2025-03-07 16:06:58 +0100 |
|---|---|---|
| committer | Jana Dönszelmann <jana@donsz.nl> | 2025-06-17 23:19:31 +0200 |
| commit | 0aade73c504846d36ce8a77a0b7b0ba1f6f8dfa7 (patch) | |
| tree | 08426a77e8b2c3c5e0e68a2a8dffa5d54e20b92b /compiler/rustc_attr_data_structures/src | |
| parent | 4f73cd0a6c7be3f706aee29090a6d91c17ca53bc (diff) | |
| download | rust-0aade73c504846d36ce8a77a0b7b0ba1f6f8dfa7.tar.gz rust-0aade73c504846d36ce8a77a0b7b0ba1f6f8dfa7.zip | |
implement rustc_force_inline parser
Diffstat (limited to 'compiler/rustc_attr_data_structures/src')
| -rw-r--r-- | compiler/rustc_attr_data_structures/src/attributes.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/rustc_attr_data_structures/src/attributes.rs b/compiler/rustc_attr_data_structures/src/attributes.rs index 4c7e91528b9..44fe7d58240 100644 --- a/compiler/rustc_attr_data_structures/src/attributes.rs +++ b/compiler/rustc_attr_data_structures/src/attributes.rs @@ -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, |
