Commits
Click on a commit to change the comparison rangeFix trait constraint type checking order.
This fixes a stack overflow caused by interaction between type checking
order for trait constraits for supertraits.
```
trait MyTrait {
fn f(self) -> bool;
} {
fn f2(self) -> bool {
self.f()
}
}
trait MyTrait2: MyTrait {
}
impl<T1> MyTrait for (T1,)
where
T1: MyTrait2,
{
fn f(self) -> bool { self.0.f() }
}
fn main() -> bool {
true
}
``` Merge branch 'master' into fix-trait-constraint-type-check-order3 months ago
by JoshuaBatty Merge branch 'master' into fix-trait-constraint-type-check-order