1
Fork 0

Add BuiltinBounds to closure type: parse and handle subtyping,

but do not integrate with kindck etc (requires a snapshot first)
This commit is contained in:
Niko Matsakis 2013-05-10 15:57:27 -04:00
parent 53196bb364
commit 035c01af93
19 changed files with 261 additions and 61 deletions

View file

@ -589,6 +589,7 @@ pub fn noop_fold_ty(t: &ty_, fld: @ast_fold) -> ty_ {
purity: f.purity,
region: f.region,
onceness: f.onceness,
bounds: f.bounds.map(|x| fold_ty_param_bound(x, fld)),
decl: fold_fn_decl(&f.decl, fld),
lifetimes: copy f.lifetimes,
})