bors
29554c0a12
Auto merge of #98463 - mystor:expand_expr_bool, r=eddyb
...
proc_macro: Fix expand_expr expansion of bool literals
Previously, the expand_expr method would expand bool literals as a
`Literal` token containing a `LitKind::Bool`, rather than as an `Ident`.
This is not a valid token, and the `LitKind::Bool` case needs to be
handled seperately.
Tests were added to more deeply compare the streams in the expand-expr
test suite to catch mistakes like this in the future.
2022-07-10 14:02:45 +00:00
..
2022-07-07 18:06:49 +05:30
2022-07-08 12:44:14 +00:00
2022-07-07 18:14:44 +00:00
2022-07-06 13:27:53 +01:00
2022-07-10 11:52:17 +02:00
2022-07-09 10:04:09 +10:00
2022-07-09 23:20:02 +02:00
2022-07-09 07:27:29 -04:00
2022-07-09 07:27:29 -04:00
2022-07-09 07:43:56 -04:00
2022-07-09 17:16:00 +00:00
2022-07-06 22:50:55 +02:00
2022-07-08 03:48:10 +00:00
2022-07-08 18:25:50 +05:30
2022-07-10 14:02:45 +00:00
2022-07-09 11:28:07 +05:30
2022-07-07 20:33:24 +02:00
2022-07-09 19:57:13 +00:00
2022-07-08 11:31:08 -07:00
2022-07-07 18:14:44 +00:00
2022-07-07 18:06:50 +05:30
2022-07-08 03:37:36 +00:00
2022-07-07 20:55:34 +00:00
2022-07-10 11:52:17 +02:00
2022-07-09 07:43:56 -04:00
2022-07-09 12:52:50 +02:00
2022-07-10 11:52:17 +02:00
2022-07-06 06:41:53 +01:00
2022-07-08 10:03:27 +00:00
2022-07-07 16:01:43 +02:00
2022-07-06 14:49:08 +05:30
2022-07-06 23:20:12 +02:00
2022-07-09 04:34:51 +00:00
2022-07-10 11:52:17 +02:00
2022-07-08 11:31:08 -07:00
2022-07-10 11:52:17 +02:00
2022-07-06 22:50:55 +02:00
2022-07-09 11:28:07 +05:30
2022-07-10 11:52:17 +02:00
2022-07-06 06:41:53 +01:00
2022-07-06 06:41:53 +01:00
2022-07-08 17:55:26 +00:00
2022-07-10 11:52:17 +02:00