summaryrefslogtreecommitdiffstats
path: root/tests/ui/mismatched_types/E0053.stderr
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/ui/mismatched_types/E0053.stderr (renamed from src/test/ui/mismatched_types/E0053.stderr)8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/ui/mismatched_types/E0053.stderr b/tests/ui/mismatched_types/E0053.stderr
index 54b419264..154f2fcbe 100644
--- a/src/test/ui/mismatched_types/E0053.stderr
+++ b/tests/ui/mismatched_types/E0053.stderr
@@ -12,8 +12,8 @@ note: type in trait
|
LL | fn foo(x: u16);
| ^^^
- = note: expected fn pointer `fn(u16)`
- found fn pointer `fn(i16)`
+ = note: expected signature `fn(u16)`
+ found signature `fn(i16)`
error[E0053]: method `bar` has an incompatible type for trait
--> $DIR/E0053.rs:11:12
@@ -29,8 +29,8 @@ note: type in trait
|
LL | fn bar(&self);
| ^^^^^
- = note: expected fn pointer `fn(&Bar)`
- found fn pointer `fn(&mut Bar)`
+ = note: expected signature `fn(&Bar)`
+ found signature `fn(&mut Bar)`
error: aborting due to 2 previous errors