]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/feature-gates/feature-gate-edition_macro_pats.rs
1 // Feature gate test for `edition_macro_pats` feature.
4 ($x
:pat2018
) => {}
; //~ERROR `pat2018` and `pat2021` are unstable
5 ($x
:pat2021
) => {}
; //~ERROR `pat2018` and `pat2021` are unstable