Add two new kinds of predicates, WellFormed and ObjectSafe.

This commit is contained in:
Niko Matsakis
2015-08-07 09:30:19 -04:00
parent 928955296e
commit b1963154a1
16 changed files with 149 additions and 12 deletions

View File

@@ -475,7 +475,7 @@ pub enum WherePredicate {
/// A lifetime predicate, e.g. `'a: 'b+'c`
RegionPredicate(WhereRegionPredicate),
/// An equality predicate (unsupported)
EqPredicate(WhereEqPredicate)
EqPredicate(WhereEqPredicate),
}
/// A type bound, eg `for<'c> Foo: Send+Clone+'c`