1
Fork 0

Add support for multiple region bounds in where clauses

This commit is contained in:
Jared Roesch 2014-12-20 02:48:43 -08:00
parent e0cac488ac
commit d87b308b67
11 changed files with 79 additions and 24 deletions

View file

@ -435,7 +435,7 @@ impl<'a> TraitDef<'a> {
ast::WherePredicate::RegionPredicate(ast::WhereRegionPredicate {
span: self.span,
lifetime: rb.lifetime,
bound: rb.bound
bounds: rb.bounds.iter().map(|b| b.clone()).collect()
})
}
ast::WherePredicate::EqPredicate(ref we) => {