Add Span to arena_types! for decoding &'tcx [Span]
This commit is contained in:
@@ -82,6 +82,8 @@ macro_rules! arena_types {
|
|||||||
// (during lowering) and the `librustc_middle` arena (for decoding MIR)
|
// (during lowering) and the `librustc_middle` arena (for decoding MIR)
|
||||||
[decode] asm_template: rustc_ast::ast::InlineAsmTemplatePiece,
|
[decode] asm_template: rustc_ast::ast::InlineAsmTemplatePiece,
|
||||||
|
|
||||||
|
// This is used to decode the &'tcx [Span] for InlineAsm's line_spans.
|
||||||
|
[decode] span: rustc_span::Span,
|
||||||
], $tcx);
|
], $tcx);
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user