Skip to content

Commit

Permalink
Add Span to arena_types! for decoding &'tcx [Span]
Browse files Browse the repository at this point in the history
  • Loading branch information
Amanieu committed May 29, 2020
1 parent b78b156 commit fc497f7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/librustc_middle/arena.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
)
}
Expand Down

0 comments on commit fc497f7

Please sign in to comment.