]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/pat-ref-enum.rs
Merge commit 'f2cdd4a78d89c009342197cf5844a21f8aa813df' into sync_cg_clif-2022-04-22
[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() {}