Add a span to ast::TyParam

This commit is contained in:
Nick Cameron
2014-04-03 13:53:57 +13:00
parent 09bfb92fdc
commit c3b2f2b0c6
6 changed files with 13 additions and 6 deletions

View File

@@ -448,7 +448,8 @@ pub fn fold_ty_param<T: Folder>(tp: &TyParam, fld: &mut T) -> TyParam {
ident: tp.ident,
id: id,
bounds: tp.bounds.map(|x| fold_ty_param_bound(x, fld)),
default: tp.default.map(|x| fld.fold_ty(x))
default: tp.default.map(|x| fld.fold_ty(x)),
span: tp.span
}
}