rust/tests/ui/feature-gates/feature-gate-inline_const_pat.rs
2023-01-11 09:32:08 +00:00

5 lines
113 B
Rust

fn main() {
let const { () } = ();
//~^ ERROR inline-const in pattern position is experimental [E0658]
}