]> git.lizzy.rs Git - rust.git/commitdiff
Fix rebase
authorVadim Petrochenkov <vadim.petrochenkov@gmail.com>
Sat, 20 Jul 2019 10:44:11 +0000 (13:44 +0300)
committerVadim Petrochenkov <vadim.petrochenkov@gmail.com>
Wed, 24 Jul 2019 09:29:45 +0000 (12:29 +0300)
src/libsyntax_ext/global_allocator.rs

index 71c9e6cd23d443995887534cda8c390b646b0df9..33072487e19f4b520b42dabe66ff2d380b602f1d 100644 (file)
@@ -30,7 +30,7 @@ pub fn expand(
     };
 
     // Generate a bunch of new items using the AllocFnFactory
-    let span = item.span.with_ctxt(SyntaxContext::empty().apply_mark(ecx.current_expansion.mark));
+    let span = item.span.with_ctxt(SyntaxContext::empty().apply_mark(ecx.current_expansion.id));
     let f = AllocFnFactory {
         span,
         kind: AllocatorKind::Global,