summaryrefslogtreecommitdiffstats
path: root/src/test/ui/feature-gates/feature-gate-box_patterns.rs
blob: 8bec16a974e800930de77eeffc8010469254a8c5 (plain)
1
2
3
4
fn main() {
    let box x = Box::new('c'); //~ ERROR box pattern syntax is experimental
    println!("x: {}", x);
}