rust/src/test/ui/feature-gate-box_syntax.stderr
est31 20ab8841b1 Point to the current box syntax tracking issue
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.
2018-05-26 19:27:21 +02:00

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`.