diff options
| author | Jana Dönszelmann <jana@donsz.nl> | 2025-03-04 14:17:06 +0100 |
|---|---|---|
| committer | Jana Dönszelmann <jana@donsz.nl> | 2025-06-17 23:19:31 +0200 |
| commit | ee976bbbcaf85390a00f03dedacd035e7e274e8e (patch) | |
| tree | ac9ac3364e06bc17d8aec7742493ebeff2ab3c92 /compiler/rustc_attr_data_structures/src | |
| parent | 566f691374bff0461f2992e381e58539b0e5ae8a (diff) | |
| download | rust-ee976bbbcaf85390a00f03dedacd035e7e274e8e.tar.gz rust-ee976bbbcaf85390a00f03dedacd035e7e274e8e.zip | |
fix bugs in inline/force_inline and diagnostics of all attr parsers
Diffstat (limited to 'compiler/rustc_attr_data_structures/src')
| -rw-r--r-- | compiler/rustc_attr_data_structures/src/attributes.rs | 2 | ||||
| -rw-r--r-- | compiler/rustc_attr_data_structures/src/lints.rs | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/compiler/rustc_attr_data_structures/src/attributes.rs b/compiler/rustc_attr_data_structures/src/attributes.rs index 44fe7d58240..be7657bac58 100644 --- a/compiler/rustc_attr_data_structures/src/attributes.rs +++ b/compiler/rustc_attr_data_structures/src/attributes.rs @@ -235,8 +235,6 @@ 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, diff --git a/compiler/rustc_attr_data_structures/src/lints.rs b/compiler/rustc_attr_data_structures/src/lints.rs index 7e3664b2263..e34c54c6d32 100644 --- a/compiler/rustc_attr_data_structures/src/lints.rs +++ b/compiler/rustc_attr_data_structures/src/lints.rs @@ -11,4 +11,5 @@ pub struct AttributeLint<Id> { #[derive(Clone, Debug, HashStable_Generic)] pub enum AttributeLintKind { UnusedDuplicate { this: Span, other: Span, warning: bool }, + IllFormedAttributeInput { suggestions: Vec<String> }, } |
