Add Span to arena_types! for decoding &'tcx [Span]
This commit is contained in:
parent
b78b15665b
commit
fc497f79b3
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue