]> git.proxmox.com Git - rustc.git/blame - src/test/ui/feature-gates/feature-gate-box-expr.stderr
New upstream version 1.34.2+dfsg1
[rustc.git] / src / test / ui / feature-gates / feature-gate-box-expr.stderr
CommitLineData
94b46f34 1error[E0658]: box expression syntax is experimental; you can call `Box::new` instead. (see issue #49733)
0731742a 2 --> $DIR/feature-gate-box-expr.rs:12:13
ff7c6d11 3 |
0531ce1d 4LL | let x = box 'c'; //~ ERROR box expression syntax is experimental
ff7c6d11
XL
5 | ^^^^^^^
6 |
7 = help: add #![feature(box_syntax)] to the crate attributes to enable
8
9error: aborting due to previous error
10
0531ce1d 11For more information about this error, try `rustc --explain E0658`.