Closed
Description
fn foo(Option<i32>) {}
fn main() {
foo(Some(42));
}
The first error is about the missing argument name in foo
's parameter list, but there's another one on the call saying that the function doesn't take any parameters. I guess a dummy item was created to prevent cascading resolve errors, but it seems to create another kind of cascading error.