From 94ffced66747a94554e0e0fa420eb21abdced095 Mon Sep 17 00:00:00 2001 From: lcnr Date: Tue, 14 Jan 2025 10:06:22 +0100 Subject: [PATCH] add note to test --- .../trait-upcasting/impossible-method-modulo-binders-2.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ui/traits/trait-upcasting/impossible-method-modulo-binders-2.rs b/tests/ui/traits/trait-upcasting/impossible-method-modulo-binders-2.rs index bc43360553194..c03b5145aa73b 100644 --- a/tests/ui/traits/trait-upcasting/impossible-method-modulo-binders-2.rs +++ b/tests/ui/traits/trait-upcasting/impossible-method-modulo-binders-2.rs @@ -2,7 +2,7 @@ //@ revisions: current next //@ ignore-compare-mode-next-solver (explicit revisions) //@[next] compile-flags: -Znext-solver - +// Regression test for #135462. #![allow(coherence_leak_check)] type A = fn(&'static ());