Skip to content

Commit fc497f7

Browse files
committed
Add Span to arena_types! for decoding &'tcx [Span]
1 parent b78b156 commit fc497f7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/librustc_middle/arena.rs

+2
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,8 @@ macro_rules! arena_types {
8282
// (during lowering) and the `librustc_middle` arena (for decoding MIR)
8383
[decode] asm_template: rustc_ast::ast::InlineAsmTemplatePiece,
8484

85+
// This is used to decode the &'tcx [Span] for InlineAsm's line_spans.
86+
[decode] span: rustc_span::Span,
8587
], $tcx);
8688
)
8789
}

0 commit comments

Comments
 (0)