2020-09-15 14:34:58 -05:00
|
|
|
error[E0029]: only `char` and numeric types are allowed in range patterns
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/E0029.rs:5:9
|
2018-02-07 21:35:35 -06:00
|
|
|
|
|
2018-05-28 21:42:11 -05:00
|
|
|
LL | "hello" ..= "world" => {}
|
2019-11-12 17:27:53 -06:00
|
|
|
| -------^^^^^-------
|
|
|
|
| | |
|
|
|
|
| | this is of type `&'static str` but it should be `char` or numeric
|
|
|
|
| this is of type `&'static str` but it should be `char` or numeric
|
2018-02-07 21:35:35 -06:00
|
|
|
|
2018-03-26 16:39:29 -05:00
|
|
|
error: aborting due to previous error
|
2018-02-07 21:35:35 -06:00
|
|
|
|
2018-03-26 16:39:29 -05:00
|
|
|
For more information about this error, try `rustc --explain E0029`.
|