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