// Tests that anonymous parameters are a hard error in edition 2018. | |
// edition:2018 | |
trait T { | |
fn foo(i32); //~ expected one of `:` or `@`, found `)` | |
fn bar_with_default_impl(String, String) {} | |
//~^ ERROR expected one of `:` or `@`, found `,` | |
} | |
fn main() {} |