rust/tests/ui/feature-gates/feature-gate-inline_const_pat.rs

5 lines
113 B
Rust
Raw Normal View History

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