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