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

@@ -430,11 +430,9 @@ pub struct WhereBoundPredicate {
pub struct WhereRegionPredicate {
pub span: Span,
pub lifetime: Lifetime,
pub bound: Lifetime
pub bounds: Vec<Lifetime>,
}
impl Copy for WhereRegionPredicate {}
#[deriving(Clone, PartialEq, Eq, Encodable, Decodable, Hash, Show)]
pub struct WhereEqPredicate {
pub id: NodeId,