hygiene: ExpnInfo -> ExpnData
For naming consistency with everything else in this area
This commit is contained in:
parent
650f19aeae
commit
136db2235a
25 changed files with 168 additions and 168 deletions
|
|
@ -362,7 +362,7 @@ pub(crate) struct Rustc<'a> {
|
|||
impl<'a> Rustc<'a> {
|
||||
pub fn new(cx: &'a ExtCtxt<'_>) -> Self {
|
||||
// No way to determine def location for a proc macro right now, so use call location.
|
||||
let location = cx.current_expansion.id.expn_info().call_site;
|
||||
let location = cx.current_expansion.id.expn_data().call_site;
|
||||
let to_span = |transparency| {
|
||||
location.with_ctxt(
|
||||
SyntaxContext::root()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue