@@ -232,7 +232,7 @@ pub enum AttributeKind {
232
232
} ,
233
233
234
234
/// Represents `#[rustc_const_stable_indirect]`.
235
- ConstStabilityIndirect ,
235
+ ConstStabilityIndirect ( Span ) ,
236
236
237
237
/// Represents [`#[deprecated]`](https://doc.rust-lang.org/stable/reference/attributes/diagnostics.html#the-deprecated-attribute).
238
238
Deprecation { deprecation : Deprecation , span : Span } ,
@@ -241,7 +241,7 @@ pub enum AttributeKind {
241
241
DocComment { style : AttrStyle , kind : CommentKind , span : Span , comment : Symbol } ,
242
242
243
243
/// Represents `#[rustc_dummy]`.
244
- Dummy ,
244
+ Dummy ( Span ) ,
245
245
246
246
/// Represents [`#[export_name]`](https://doc.rust-lang.org/reference/abi.html#the-export_name-attribute).
247
247
ExportName {
@@ -252,7 +252,7 @@ pub enum AttributeKind {
252
252
} ,
253
253
254
254
/// Represents `#[export_stable]`.
255
- ExportStable ,
255
+ ExportStable ( Span ) ,
256
256
257
257
/// Represents `#[ffi_const]`.
258
258
FfiConst ( Span ) ,
@@ -280,7 +280,7 @@ pub enum AttributeKind {
280
280
LoopMatch ( Span ) ,
281
281
282
282
/// Represents `#[rustc_macro_transparency]`.
283
- MacroTransparency ( Transparency ) ,
283
+ MacroTransparency ( Transparency , Span ) ,
284
284
285
285
/// Represents [`#[may_dangle]`](https://std-dev-guide.rust-lang.org/tricky/may-dangle.html).
286
286
MayDangle ( Span ) ,
@@ -326,7 +326,7 @@ pub enum AttributeKind {
326
326
RustcLayoutScalarValidRangeStart ( Box < u128 > , Span ) ,
327
327
328
328
/// Represents `#[rustc_object_lifetime_default]`.
329
- RustcObjectLifetimeDefault ,
329
+ RustcObjectLifetimeDefault ( Span ) ,
330
330
331
331
/// Represents `#[rustc_skip_during_method_dispatch]`.
332
332
SkipDuringMethodDispatch { array : bool , boxed_slice : bool , span : Span } ,
0 commit comments