Add support for multiple region bounds in where clauses
This commit is contained in:
parent
e0cac488ac
commit
d87b308b67
11 changed files with 79 additions and 24 deletions
|
@ -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) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue