mirror of
https://github.com/rust-lang/rust.git
synced 2025-12-02 03:28:29 +00:00
6 lines
155 B
Rust
6 lines
155 B
Rust
fn foo(x: i32 = 1) {} //~ ERROR parameter defaults are not supported
|
|
|
|
type Foo = fn(i32 = 0); //~ ERROR parameter defaults are not supported
|
|
|
|
fn main() {}
|