blob: 65140a0794f846a0e6b6af1459ad0e8637c73d3e [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 signature `fn()`
found signature `fn(isize)`
error: aborting due to previous error
For more information about this error, try `rustc --explain E0580`.