2020-09-15 19:34:58 +00:00
|
|
|
error[E0029]: only `char` and numeric types are allowed in range patterns
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/E0029.rs:5:9
|
2018-02-08 03:35:35 +00:00
|
|
|
|
|
2018-05-29 02:42:11 +00:00
|
|
|
LL | "hello" ..= "world" => {}
|
2019-11-12 23:27:53 +00: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-08 03:35:35 +00:00
|
|
|
|
2018-03-26 21:39:29 +00:00
|
|
|
error: aborting due to previous error
|
2018-02-08 03:35:35 +00:00
|
|
|
|
2018-03-26 21:39:29 +00:00
|
|
|
For more information about this error, try `rustc --explain E0029`.
|