1 error[E0029]: only `char` and numeric types are allowed in range patterns
4 LL | "hello" ..= "world" => {}
7 | | this is of type `&'static str` but it should be `char` or numeric
8 | this is of type `&'static str` but it should be `char` or numeric
10 error: aborting due to previous error
12 For more information about this error, try `rustc --explain E0029`.