From 218caa410aa38c29984be31a5229b9fa717560ee Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:19:13 +0200 Subject: Merging upstream version 1.68.2+dfsg1. Signed-off-by: Daniel Baumann --- tests/ui/associated-types/impl-wf-cycle-1.stderr | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 tests/ui/associated-types/impl-wf-cycle-1.stderr (limited to 'tests/ui/associated-types/impl-wf-cycle-1.stderr') diff --git a/tests/ui/associated-types/impl-wf-cycle-1.stderr b/tests/ui/associated-types/impl-wf-cycle-1.stderr new file mode 100644 index 000000000..206060f19 --- /dev/null +++ b/tests/ui/associated-types/impl-wf-cycle-1.stderr @@ -0,0 +1,20 @@ +error[E0275]: overflow evaluating the requirement `<(T,) as Grault>::A == _` + --> $DIR/impl-wf-cycle-1.rs:15:1 + | +LL | impl Grault for (T,) + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + | +note: required for `(T,)` to implement `Grault` + --> $DIR/impl-wf-cycle-1.rs:15:17 + | +LL | impl Grault for (T,) + | ^^^^^^ ^^^^ +... +LL | Self::A: Baz, + | --- unsatisfied trait bound introduced here + = note: 1 redundant requirement hidden + = note: required for `(T,)` to implement `Grault` + +error: aborting due to previous error + +For more information about this error, try `rustc --explain E0275`. -- cgit v1.2.3