Ignore Inlined
spans when computing caller location.
This commit is contained in:
parent
df61fcaec1
commit
be8b323929
5 changed files with 37 additions and 5 deletions
|
@ -880,7 +880,7 @@ impl Span {
|
|||
pub fn fresh_expansion(self, expn_id: LocalExpnId) -> Span {
|
||||
HygieneData::with(|data| {
|
||||
self.with_ctxt(data.apply_mark(
|
||||
SyntaxContext::root(),
|
||||
self.ctxt(),
|
||||
expn_id.to_expn_id(),
|
||||
Transparency::Transparent,
|
||||
))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue