Use the correct span when emitting the env! result
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user