fix bugs in inline/force_inline and diagnostics of all attr parsers
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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> },
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user