1
Fork 0

consistently use "next solver" instead of "new solver"

This commit is contained in:
lcnr 2023-12-14 14:47:41 +01:00
parent 11d16c4082
commit 0947070871
168 changed files with 16 additions and 16 deletions

View file

@ -0,0 +1,19 @@
// compile-flags: -Znext-solver
trait Trait {}
struct W<T>(T);
impl<T, U> Trait for W<(W<T>, W<U>)>
where
W<T>: Trait,
W<U>: Trait,
{
}
fn impls<T: Trait>() {}
fn main() {
impls::<W<_>>();
//~^ ERROR overflow evaluating the requirement `W<_>: Trait`
}