rust/src/test/ui/feature-gates/feature-gate-box_patterns.rs
Eduard-Mihai Burtescu 680089c2d9 Revert "pre-expansion gate box_patterns"
This reverts commit 2aff6b36d7.
2019-10-31 19:08:11 +02:00

5 lines
116 B
Rust

fn main() {
let box x = Box::new('c'); //~ ERROR box pattern syntax is experimental
println!("x: {}", x);
}