]> git.lizzy.rs Git - rust.git/blob - tests/ui/feature-gates/feature-gate-box_patterns.rs
Rollup merge of #106701 - ibraheemdev:sync-sender-spin, r=Amanieu
[rust.git] / tests / ui / feature-gates / feature-gate-box_patterns.rs
1 fn main() {
2     let box x = Box::new('c'); //~ ERROR box pattern syntax is experimental
3     println!("x: {}", x);
4 }