mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-02 17:44:28 +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() {}
|