@@ -232,7 +232,7 @@ pub enum AttributeKind {
232232 } ,
233233
234234 /// Represents `#[rustc_const_stable_indirect]`.
235- ConstStabilityIndirect ,
235+ ConstStabilityIndirect ( Span ) ,
236236
237237 /// Represents [`#[deprecated]`](https://doc.rust-lang.org/stable/reference/attributes/diagnostics.html#the-deprecated-attribute).
238238 Deprecation { deprecation : Deprecation , span : Span } ,
@@ -241,7 +241,7 @@ pub enum AttributeKind {
241241 DocComment { style : AttrStyle , kind : CommentKind , span : Span , comment : Symbol } ,
242242
243243 /// Represents `#[rustc_dummy]`.
244- Dummy ,
244+ Dummy ( Span ) ,
245245
246246 /// Represents [`#[export_name]`](https://doc.rust-lang.org/reference/abi.html#the-export_name-attribute).
247247 ExportName {
@@ -252,7 +252,7 @@ pub enum AttributeKind {
252252 } ,
253253
254254 /// Represents `#[export_stable]`.
255- ExportStable ,
255+ ExportStable ( Span ) ,
256256
257257 /// Represents `#[ffi_const]`.
258258 FfiConst ( Span ) ,
@@ -280,7 +280,7 @@ pub enum AttributeKind {
280280 LoopMatch ( Span ) ,
281281
282282 /// Represents `#[rustc_macro_transparency]`.
283- MacroTransparency ( Transparency ) ,
283+ MacroTransparency ( Transparency , Span ) ,
284284
285285 /// Represents [`#[may_dangle]`](https://std-dev-guide.rust-lang.org/tricky/may-dangle.html).
286286 MayDangle ( Span ) ,
@@ -326,7 +326,7 @@ pub enum AttributeKind {
326326 RustcLayoutScalarValidRangeStart ( Box < u128 > , Span ) ,
327327
328328 /// Represents `#[rustc_object_lifetime_default]`.
329- RustcObjectLifetimeDefault ,
329+ RustcObjectLifetimeDefault ( Span ) ,
330330
331331 /// Represents `#[rustc_skip_during_method_dispatch]`.
332332 SkipDuringMethodDispatch { array : bool , boxed_slice : bool , span : Span } ,
0 commit comments