make expand ProcMacroServerSpan type live longer
This commit is contained in:
parent
43cda6d5ec
commit
671aab6dbd
1 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,7 @@ impl Expander {
|
|||
Ok(Expander { inner: library, modified_time })
|
||||
}
|
||||
|
||||
pub(crate) fn expand<'a, S: ProcMacroSrvSpan>(
|
||||
pub(crate) fn expand<'a, S: ProcMacroSrvSpan + 'a>(
|
||||
&self,
|
||||
macro_name: &str,
|
||||
macro_body: TokenStream<S>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue