mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-01 20:47:36 +00:00
6 lines
97 B
Rust
6 lines
97 B
Rust
![]() |
fn main() {
|
||
|
let f = |3: int| io::println("hello"); //~ ERROR refutable pattern
|
||
|
f(4);
|
||
|
}
|
||
|
|