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 --- tests/ui/traits/new-solver/upcast-wrong-substs.stderr | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 tests/ui/traits/new-solver/upcast-wrong-substs.stderr (limited to 'tests/ui/traits/new-solver/upcast-wrong-substs.stderr') diff --git a/tests/ui/traits/new-solver/upcast-wrong-substs.stderr b/tests/ui/traits/new-solver/upcast-wrong-substs.stderr deleted file mode 100644 index 8623f395f..000000000 --- a/tests/ui/traits/new-solver/upcast-wrong-substs.stderr +++ /dev/null @@ -1,14 +0,0 @@ -error[E0308]: mismatched types - --> $DIR/upcast-wrong-substs.rs:11:30 - | -LL | let y: &dyn Bar = x; - | --------------- ^ expected trait `Bar`, found trait `Foo` - | | - | expected due to this - | - = note: expected reference `&dyn Bar` - found reference `&dyn Foo` - -error: aborting due to previous error - -For more information about this error, try `rustc --explain E0308`. -- cgit v1.2.3