Hygienize lifetimes.

This commit is contained in:
Jeffrey Seyfried
2017-03-25 21:14:18 +00:00
parent 8497061a49
commit 7fdc1fb2e4
17 changed files with 31 additions and 33 deletions

View File

@@ -694,7 +694,7 @@ pub fn noop_fold_ty_params<T: Folder>(tps: Vec<TyParam>, fld: &mut T) -> Vec<TyP
pub fn noop_fold_lifetime<T: Folder>(l: Lifetime, fld: &mut T) -> Lifetime {
Lifetime {
id: fld.new_id(l.id),
name: l.name,
ident: fld.fold_ident(l.ident),
span: fld.new_span(l.span)
}
}