blob: 29c41c49cc4150e82dfab1efa5a05380c2d73b79 [file] [log] [blame]
error[E0658]: non-reference pattern used to match a reference (see issue #42640)
--> $DIR/pat-slice-old-style.rs:19:9
|
19 | [a, b..] => {},
| ^^^^^^^^ help: consider using a reference: `&[a, b..]`
|
= help: add #![feature(match_default_bindings)] to the crate attributes to enable
error: aborting due to previous error