From 9918693037dce8aa4bb6f08741b6812923486c18 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 19 Jun 2024 11:26:03 +0200 Subject: Merging upstream version 1.76.0+dfsg1. Signed-off-by: Daniel Baumann --- .../new-solver/overflow/recursive-self-normalization.rs | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 tests/ui/traits/new-solver/overflow/recursive-self-normalization.rs (limited to 'tests/ui/traits/new-solver/overflow/recursive-self-normalization.rs') diff --git a/tests/ui/traits/new-solver/overflow/recursive-self-normalization.rs b/tests/ui/traits/new-solver/overflow/recursive-self-normalization.rs deleted file mode 100644 index d15df7dea..000000000 --- a/tests/ui/traits/new-solver/overflow/recursive-self-normalization.rs +++ /dev/null @@ -1,16 +0,0 @@ -//~ ERROR overflow evaluating the requirement `::Assoc` [E0275] -// compile-flags: -Ztrait-solver=next - -trait Foo { - type Assoc; -} - -trait Bar {} -fn needs_bar() {} - -fn test::Assoc>>() { - needs_bar::(); - //~^ ERROR overflow evaluating the requirement `::Assoc: Bar` -} - -fn main() {} -- cgit v1.2.3