blob: c7f15e7a4fa50501b3f61366993dbd326a661462 [file] [log] [blame]
error[E0580]: main function has wrong type
--> $DIR/bad-main.rs:1:1
|
LL | fn main(x: isize) { }
| ^^^^^^^^^^^^^^^^^ incorrect number of function parameters
|
= note: expected type `fn()`
found type `fn(isize)`
error: aborting due to previous error
For more information about this error, try `rustc --explain E0580`.