mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 02:33:55 +00:00
29554c0a12
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. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |