2018-01-13 07:05:51 -06:00
|
|
|
error[E0658]: box expression syntax is experimental; you can call `Box::new` instead. (see issue #27779)
|
2017-12-06 03:18:03 -06:00
|
|
|
--> $DIR/feature-gate-box_syntax.rs:14:13
|
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | let x = box 3;
|
2017-12-06 03:18:03 -06:00
|
|
|
| ^^^^^
|
|
|
|
|
|
|
|
|
= help: add #![feature(box_syntax)] to the crate attributes to enable
|
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
2018-03-03 08:59:40 -06:00
|
|
|
For more information about this error, try `rustc --explain E0658`.
|