diff options
| author | Michael Goulet <michael@errs.io> | 2024-01-10 16:30:07 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2024-01-11 16:54:11 +0000 |
| commit | 68c2f11240c55992b8d56a22f25641cf6abd9f08 (patch) | |
| tree | 82477e4f57716298bba1a0df65c85c4058336cdb /tests/ui/traits/next-solver/overflow/recursive-self-normalization-2.rs | |
| parent | 68acb393c5d2cff049b41981e35217a7e630f63a (diff) | |
| download | rust-68c2f11240c55992b8d56a22f25641cf6abd9f08.tar.gz rust-68c2f11240c55992b8d56a22f25641cf6abd9f08.zip | |
Remove special-casing around aliaskind in new solver
Diffstat (limited to 'tests/ui/traits/next-solver/overflow/recursive-self-normalization-2.rs')
| -rw-r--r-- | tests/ui/traits/next-solver/overflow/recursive-self-normalization-2.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/ui/traits/next-solver/overflow/recursive-self-normalization-2.rs b/tests/ui/traits/next-solver/overflow/recursive-self-normalization-2.rs index 327ef865de9..71b1502d775 100644 --- a/tests/ui/traits/next-solver/overflow/recursive-self-normalization-2.rs +++ b/tests/ui/traits/next-solver/overflow/recursive-self-normalization-2.rs @@ -13,8 +13,10 @@ fn needs_bar<S: Bar>() {} fn test<T: Foo1<Assoc1 = <T as Foo2>::Assoc2> + Foo2<Assoc2 = <T as Foo1>::Assoc1>>() { needs_bar::<T::Assoc1>(); - //~^ ERROR overflow evaluating the requirement `<T as Foo1>::Assoc1: Bar` - //~| ERROR overflow evaluating the requirement `<T as Foo2>::Assoc2` + //~^ ERROR overflow evaluating the requirement `<T as Foo1>::Assoc1 == _` + //~| ERROR overflow evaluating the requirement `<T as Foo1>::Assoc1 == _` + //~| ERROR overflow evaluating the requirement `<T as Foo1>::Assoc1 == _` + //~| ERROR overflow evaluating the requirement `<T as Foo1>::Assoc1: Bar` } fn main() {} |
