From c23a457e72abe608715ac76f076f47dc42af07a5 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 30 May 2024 20:31:44 +0200 Subject: Merging upstream version 1.74.1+dfsg1. Signed-off-by: Daniel Baumann --- tests/ui/issues/issue-13033.stderr | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 tests/ui/issues/issue-13033.stderr (limited to 'tests/ui/issues/issue-13033.stderr') diff --git a/tests/ui/issues/issue-13033.stderr b/tests/ui/issues/issue-13033.stderr deleted file mode 100644 index db2c1189e..000000000 --- a/tests/ui/issues/issue-13033.stderr +++ /dev/null @@ -1,20 +0,0 @@ -error[E0053]: method `bar` has an incompatible type for trait - --> $DIR/issue-13033.rs:8:30 - | -LL | fn bar(&mut self, other: &dyn Foo) {} - | ^^^^^^^^ - | | - | types differ in mutability - | help: change the parameter type to match the trait: `&mut dyn Foo` - | -note: type in trait - --> $DIR/issue-13033.rs:2:30 - | -LL | fn bar(&mut self, other: &mut dyn Foo); - | ^^^^^^^^^^^^ - = note: expected signature `fn(&mut Baz, &mut dyn Foo)` - found signature `fn(&mut Baz, &dyn Foo)` - -error: aborting due to previous error - -For more information about this error, try `rustc --explain E0053`. -- cgit v1.2.3