consistently use "next solver" instead of "new solver"
This commit is contained in:
parent
11d16c4082
commit
0947070871
168 changed files with 16 additions and 16 deletions
|
@ -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`
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue