1 warning: box pattern syntax is experimental
2 --> $DIR/rest-pat-syntactic.rs:21:9
7 = note: see issue #29641 <https://github.com/rust-lang/rust/issues/29641> for more information
8 = help: add `#![feature(box_patterns)]` to the crate attributes to enable
9 = warning: unstable syntax can change at any point in the future, causing a hard error!
10 = note: for more information, see issue #65860 <https://github.com/rust-lang/rust/issues/65860>
12 warning: box pattern syntax is experimental
13 --> $DIR/rest-pat-syntactic.rs:62:17
18 = note: see issue #29641 <https://github.com/rust-lang/rust/issues/29641> for more information
19 = help: add `#![feature(box_patterns)]` to the crate attributes to enable
20 = warning: unstable syntax can change at any point in the future, causing a hard error!
21 = note: for more information, see issue #65860 <https://github.com/rust-lang/rust/issues/65860>
23 warning: 2 warnings emitted