1 2 3 4 5 6 7 8
fn matcher(x: option<int>) { match x { ref some(i) => {} //~ ERROR expected identifier, found enum pattern none => {} } } fn main() {}