1 error[E0658]: non-reference pattern used to match a reference (see issue #42640)
4 15 | "hello" ... "world" => {}
5 | ^^^^^^^^^^^^^^^^^^^ help: consider using a reference: `&"hello" ... "world"`
7 = help: add #![feature(match_default_bindings)] to the crate attributes to enable
9 error[E0029]: only char and numeric types are allowed in range patterns
10 --> $DIR/E0029.rs:15:9
12 15 | "hello" ... "world" => {}
13 | ^^^^^^^^^^^^^^^^^^^ ranges require char or numeric types
15 = note: start type: &'static str
16 = note: end type: &'static str
18 error: aborting due to 2 previous errors