fn matcher(x: option) { match x { ref some(i) => {} //~ ERROR expected identifier, found enum pattern none => {} } } fn main() {}