]> git.lizzy.rs Git - rust.git/blob - src/test/ui/feature-gates/feature-gate-box_patterns.stderr
Auto merge of #54720 - davidtwco:issue-51191, r=nikomatsakis
[rust.git] / src / test / ui / feature-gates / feature-gate-box_patterns.stderr
1 error[E0658]: box pattern syntax is experimental (see issue #29641)
2   --> $DIR/feature-gate-box_patterns.rs:12:9
3    |
4 LL |     let box x = Box::new('c'); //~ ERROR box pattern syntax is experimental
5    |         ^^^^^
6    |
7    = help: add #![feature(box_patterns)] to the crate attributes to enable
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0658`.