]> git.proxmox.com Git - rustc.git/blame - tests/ui/feature-gates/feature-gate-box-expr.stderr
New upstream version 1.69.0+dfsg1
[rustc.git] / tests / ui / feature-gates / feature-gate-box-expr.stderr
CommitLineData
48663c56 1error[E0658]: box expression syntax is experimental; you can call `Box::new` instead
0731742a 2 --> $DIR/feature-gate-box-expr.rs:12:13
ff7c6d11 3 |
532ac7d7 4LL | let x = box 'c';
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`.