9 lines
156 B
Rust
9 lines
156 B
Rust
fn matcher(x: option<int>) {
|
|
match x {
|
|
ref some(i) => {} //~ ERROR expected identifier, found enum pattern
|
|
none => {}
|
|
}
|
|
}
|
|
|
|
fn main() {}
|