]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/pat-ref-enum.rs
Merge commit '43a1777b89cf6791f9e20878b4e5e3ae907867a5' into clippyup
[rust.git] / src / test / ui / parser / pat-ref-enum.rs
1 fn matcher(x: Option<isize>) {
2     match x {
3       ref Some(i) => {} //~ ERROR expected identifier, found enum pattern
4       None => {}
5     }
6 }
7
8 fn main() {}