]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/bad/bad-main.stderr
New upstream version 1.41.1+dfsg1
[rustc.git] / src / test / ui / bad / bad-main.stderr
index c7f15e7a4fa50501b3f61366993dbd326a661462..1e57c2488e9efdabdfb26a79fb8fd71f365bca6c 100644 (file)
@@ -4,8 +4,8 @@ error[E0580]: main function has wrong type
 LL | fn main(x: isize) { }
    | ^^^^^^^^^^^^^^^^^ incorrect number of function parameters
    |
-   = note: expected type `fn()`
-              found type `fn(isize)`
+   = note: expected fn pointer `fn()`
+              found fn pointer `fn(isize)`
 
 error: aborting due to previous error