summaryrefslogtreecommitdiffstats
path: root/tests/ui/fn/bad-main.stderr
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/ui/fn/bad-main.stderr4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/fn/bad-main.stderr b/tests/ui/fn/bad-main.stderr
index 675b66d05..65140a079 100644
--- a/tests/ui/fn/bad-main.stderr
+++ b/tests/ui/fn/bad-main.stderr
@@ -4,8 +4,8 @@ error[E0580]: `main` function has wrong type
LL | fn main(x: isize) { }
| ^^^^^^^^^^^^^^^^^ incorrect number of function parameters
|
- = note: expected fn pointer `fn()`
- found fn pointer `fn(isize)`
+ = note: expected signature `fn()`
+ found signature `fn(isize)`
error: aborting due to previous error