Hygienize lifetimes.
This commit is contained in:
parent
8497061a49
commit
7fdc1fb2e4
17 changed files with 31 additions and 33 deletions
|
@ -206,7 +206,7 @@ pub fn expand_build_diagnostic_array<'cx>(ecx: &'cx mut ExtCtxt,
|
|||
(descriptions.len(), ecx.expr_vec(span, descriptions))
|
||||
});
|
||||
|
||||
let static_ = ecx.lifetime(span, ecx.name_of("'static"));
|
||||
let static_ = ecx.lifetime(span, Ident::from_str("'static"));
|
||||
let ty_str = ecx.ty_rptr(
|
||||
span,
|
||||
ecx.ty_ident(span, ecx.ident_of("str")),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue