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.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.rs')
| -rw-r--r-- | tests/ui/traits/next-solver/overflow/recursive-self-normalization.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/ui/traits/next-solver/overflow/recursive-self-normalization.rs b/tests/ui/traits/next-solver/overflow/recursive-self-normalization.rs index f45d208e666..809a6a59ca6 100644 --- a/tests/ui/traits/next-solver/overflow/recursive-self-normalization.rs +++ b/tests/ui/traits/next-solver/overflow/recursive-self-normalization.rs @@ -9,8 +9,10 @@ fn needs_bar<S: Bar>() {} fn test<T: Foo<Assoc = <T as Foo>::Assoc>>() { needs_bar::<T::Assoc>(); - //~^ ERROR overflow evaluating the requirement `<T as Foo>::Assoc: Bar` - //~| ERROR overflow evaluating the requirement `<T as Foo>::Assoc` [E0275] + //~^ ERROR overflow evaluating the requirement `<T as Foo>::Assoc == _` + //~| ERROR overflow evaluating the requirement `<T as Foo>::Assoc == _` + //~| ERROR overflow evaluating the requirement `<T as Foo>::Assoc == _` + //~| ERROR overflow evaluating the requirement `<T as Foo>::Assoc: Bar` } fn main() {} |
