1 // gate-test-box_syntax
3 // Check that `box EXPR` is feature-gated.
5 // See also feature-gate-placement-expr.rs
7 // (Note that the two tests are separated since the checks appear to
8 // be performed at distinct phases, with an abort_if_errors call
12 let x = box 'c'; //~ ERROR box expression syntax is experimental