diff options
| author | Amanieu d'Antras <amanieu@gmail.com> | 2020-05-26 22:44:43 +0100 |
|---|---|---|
| committer | Amanieu d'Antras <amanieu@gmail.com> | 2020-05-29 17:05:35 +0100 |
| commit | fc497f79b3a60e23da08680d66e6cfc00a716bcc (patch) | |
| tree | 5481619d8d664b3d0538b4f3c527f17c90ad46a2 /src | |
| parent | b78b15665b622cc37b25e9bd971537296403b83d (diff) | |
| download | rust-fc497f79b3a60e23da08680d66e6cfc00a716bcc.tar.gz rust-fc497f79b3a60e23da08680d66e6cfc00a716bcc.zip | |
Add Span to arena_types! for decoding &'tcx [Span]
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustc_middle/arena.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/librustc_middle/arena.rs b/src/librustc_middle/arena.rs index 9b9207312e8..d5212ec5c30 100644 --- a/src/librustc_middle/arena.rs +++ b/src/librustc_middle/arena.rs @@ -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); ) } |
