blob: 398a95d194c295112f99b0c6dc37e2dce5b0ff5e [file] [log] [blame]
fn matcher(x: option<int>) {
match x {
ref some(i) => {} //~ ERROR expected identifier, found enum pattern
none => {}
}
}
fn main() {}