fn matcher(x: Option) { match x { ref Some(i) => {} //~ ERROR expected identifier, found enum pattern None => {} } } fn main() {}