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:
parent
53196bb364
commit
035c01af93
19 changed files with 261 additions and 61 deletions
|
@ -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,
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue