]>
Commit | Line | Data |
---|---|---|
ff7c6d11 XL |
1 | error: box expression syntax is experimental; you can call `Box::new` instead. (see issue #27779) |
2 | --> $DIR/feature-gate-box-expr.rs:22:13 | |
3 | | | |
4 | 22 | let x = box 'c'; //~ ERROR box expression syntax is experimental | |
5 | | ^^^^^^^ | |
6 | | | |
7 | = help: add #![feature(box_syntax)] to the crate attributes to enable | |
8 | ||
9 | error: aborting due to previous error | |
10 |