File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -705,7 +705,6 @@ impl<'a> LoweringContext<'a> {
705
705
allow_internal_unstable : Option < Lrc < [ Symbol ] > > ,
706
706
) -> Span {
707
707
span. fresh_expansion ( ExpnInfo {
708
- def_site : span,
709
708
allow_internal_unstable,
710
709
..ExpnInfo :: default ( ExpnKind :: Desugaring ( reason) , span, self . sess . edition ( ) )
711
710
} )
Original file line number Diff line number Diff line change @@ -603,7 +603,9 @@ pub struct ExpnInfo {
603
603
pub call_site : Span ,
604
604
605
605
// --- The part specific to the macro/desugaring definition.
606
- // --- FIXME: Share it between expansions with the same definition.
606
+ // --- It may be reasonable to share this part between expansions with the same definition,
607
+ // --- but such sharing is known to bring some minor inconveniences without also bringing
608
+ // --- noticeable perf improvements (PR #62898).
607
609
/// The span of the macro definition (possibly dummy).
608
610
/// This span serves only informational purpose and is not used for resolution.
609
611
pub def_site : Span ,
You can’t perform that action at this time.
0 commit comments