Skip to content

Commit bf09c92

Browse files
committed
Rust: add location to dummy MacroCalls in library mode
1 parent 63ccbec commit bf09c92

File tree

1 file changed

+1
-0
lines changed
  • rust/extractor/src/translate

1 file changed

+1
-0
lines changed

rust/extractor/src/translate/base.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -915,6 +915,7 @@ impl<'a> Translator<'a> {
915915
expanded.into(),
916916
&mut self.trap.writer,
917917
);
918+
self.emit_location(label, node);
918919
return Some(label);
919920
}
920921
}

0 commit comments

Comments
 (0)