summaryrefslogtreecommitdiffstats
path: root/tests/ui/feature-gates/feature-gate-inline_const_pat.rs
blob: 3d0df289fb74a2ca71b0fe4e40ceae082a016e07 (plain)
1
2
3
4
fn main() {
    let const { () } = ();
    //~^ ERROR inline-const in pattern position is experimental [E0658]
}