20ab8841b1
The issue was used for both box syntax as well as placement new. It got closed due to placement new being unapproved. So a new one got created for box syntax, yet neither the unstable book nor feature_gate.rs got updated. We are doing this now.
12 lines
387 B
Plaintext
12 lines
387 B
Plaintext
error[E0658]: box expression syntax is experimental; you can call `Box::new` instead. (see issue #49733)
|
|
--> $DIR/feature-gate-box_syntax.rs:14:13
|
|
|
|
|
LL | let x = box 3;
|
|
| ^^^^^
|
|
|
|
|
= help: add #![feature(box_syntax)] to the crate attributes to enable
|
|
|
|
error: aborting due to previous error
|
|
|
|
For more information about this error, try `rustc --explain E0658`.
|