1
Fork 0

Add Span to arena_types! for decoding &'tcx [Span]

This commit is contained in:
Amanieu d'Antras 2020-05-26 22:44:43 +01:00
parent b78b15665b
commit fc497f79b3

View file

@ -82,6 +82,8 @@ macro_rules! arena_types {
// (during lowering) and the `librustc_middle` arena (for decoding MIR)
[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);
)
}