File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
compiler/rustc_ast_lowering/src Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -634,7 +634,7 @@ impl<'hir> LoweringContext<'_, 'hir> {
634
634
// Resume argument type: `ResumeTy`
635
635
let unstable_span = self . mark_span_with_reason (
636
636
DesugaringKind :: Async ,
637
- span,
637
+ self . lower_span ( span) ,
638
638
Some ( self . allow_gen_future . clone ( ) ) ,
639
639
) ;
640
640
let resume_ty = hir:: QPath :: LangItem ( hir:: LangItem :: ResumeTy , unstable_span) ;
@@ -766,7 +766,7 @@ impl<'hir> LoweringContext<'_, 'hir> {
766
766
// Resume argument type: `ResumeTy`
767
767
let unstable_span = self . mark_span_with_reason (
768
768
DesugaringKind :: Async ,
769
- span,
769
+ self . lower_span ( span) ,
770
770
Some ( self . allow_gen_future . clone ( ) ) ,
771
771
) ;
772
772
let resume_ty = hir:: QPath :: LangItem ( hir:: LangItem :: ResumeTy , unstable_span) ;
You can’t perform that action at this time.
0 commit comments