1 error[E0029]: only `char` and numeric types are allowed in range patterns
2 --> $DIR/half-open-range-pats-bad-types.rs:5:9
5 | ^^^ this is of type `&'static str` but it should be `char` or numeric
7 error[E0029]: only `char` and numeric types are allowed in range patterns
8 --> $DIR/half-open-range-pats-bad-types.rs:6:11
11 | ^^^ this is of type `&'static str` but it should be `char` or numeric
13 error[E0029]: only `char` and numeric types are allowed in range patterns
14 --> $DIR/half-open-range-pats-bad-types.rs:7:12
16 LL | let ..="a" = "a";
17 | ^^^ this is of type `&'static str` but it should be `char` or numeric
19 error: aborting due to 3 previous errors
21 For more information about this error, try `rustc --explain E0029`.