2019-04-10 18:40:12 -05:00
|
|
|
error[E0658]: box pattern syntax is experimental
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/feature-gate-box_patterns.rs:2:9
|
2017-12-06 02:27:47 -06:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | let box x = Box::new('c');
|
2017-12-06 02:27:47 -06:00
|
|
|
| ^^^^^
|
|
|
|
|
|
2020-02-07 06:07:02 -06:00
|
|
|
= note: see issue #29641 <https://github.com/rust-lang/rust/issues/29641> for more information
|
2019-07-09 04:32:08 -05:00
|
|
|
= help: add `#![feature(box_patterns)]` to the crate attributes to enable
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2019-10-31 11:32:40 -05:00
|
|
|
error: aborting due to previous error
|
2017-12-06 02:27:47 -06:00
|
|
|
|
2018-03-03 08:59:40 -06:00
|
|
|
For more information about this error, try `rustc --explain E0658`.
|