6dba3e68e6
We also rename some of the files to conform to the feature-gate-<feat_name>.rs pattern that is most common.
11 lines
312 B
Plaintext
11 lines
312 B
Plaintext
error: box expression syntax is experimental; you can call `Box::new` instead. (see issue #27779)
|
|
--> $DIR/feature-gate-box_syntax.rs:14:13
|
|
|
|
|
14 | let x = box 3;
|
|
| ^^^^^
|
|
|
|
|
= help: add #![feature(box_syntax)] to the crate attributes to enable
|
|
|
|
error: aborting due to previous error
|
|
|