about summary refs log tree commit diff
path: root/tests/ui/traits/next-solver/overflow/recursive-self-normalization-2.rs
diff options
context:
space:
mode:
authorlcnr <rust@lcnr.de>2025-02-27 11:57:05 +0100
committerlcnr <rust@lcnr.de>2025-03-05 10:06:43 +0100
commit01795b14f07910223e12240128510f48ff110629 (patch)
treeaf501d4083993ad7200e8904f59a12e849f016e6 /tests/ui/traits/next-solver/overflow/recursive-self-normalization-2.rs
parentac951d379913c667a1fb73a0830e81d65d2007cf (diff)
downloadrust-01795b14f07910223e12240128510f48ff110629.tar.gz
rust-01795b14f07910223e12240128510f48ff110629.zip
change definitely non-productive cycles to error
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.rs7
1 files changed, 1 insertions, 6 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 0f01a453b33..94a9484ecdc 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,12 +13,7 @@ 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 == _`
-    //~| 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: Sized`
-    //~| ERROR overflow evaluating the requirement `<T as Foo1>::Assoc1: Bar`
+    //~^ ERROR the trait bound `<T as Foo1>::Assoc1: Bar` is not satisfied
 }
 
 fn main() {}