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