]> git.proxmox.com Git - rustc.git/blame - src/test/ui/feature-gate-box-expr.stderr
New upstream version 1.24.1+dfsg1
[rustc.git] / src / test / ui / feature-gate-box-expr.stderr
CommitLineData
ff7c6d11
XL
1error: box expression syntax is experimental; you can call `Box::new` instead. (see issue #27779)
2 --> $DIR/feature-gate-box-expr.rs:22:13
3 |
422 | 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
9error: aborting due to previous error
10