Only create a single expansion for each inline integration.
This commit is contained in:
parent
6cbc6c35e4
commit
e77e4fcf89
51 changed files with 502 additions and 497 deletions
|
@ -408,8 +408,8 @@ pub trait Emitter {
|
|||
"this derive macro expansion".into()
|
||||
}
|
||||
ExpnKind::Macro(MacroKind::Bang, _) => "this macro invocation".into(),
|
||||
ExpnKind::Inlined => "the inlined copy of this code".into(),
|
||||
ExpnKind::Root => "in the crate root".into(),
|
||||
ExpnKind::Inlined => "this inlined function call".into(),
|
||||
ExpnKind::Root => "the crate root".into(),
|
||||
ExpnKind::AstPass(kind) => kind.descr().into(),
|
||||
ExpnKind::Desugaring(kind) => {
|
||||
format!("this {} desugaring", kind.descr()).into()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue