mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 06:44:35 +00:00
Use the correct span when emitting the env!
result
This commit is contained in:
parent
9c8a2694fa
commit
86fca873ba
@ -108,7 +108,7 @@ pub fn expand_env<'cx>(
|
||||
|
||||
return DummyResult::any(sp);
|
||||
}
|
||||
Some(value) => cx.expr_str(sp, value),
|
||||
Some(value) => cx.expr_str(span, value),
|
||||
};
|
||||
MacEager::expr(e)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user