diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-04-18 20:36:37 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-04-18 20:36:37 +0100 |
commit | 7a59cd49ff2bb47fa0844fcf5f1ec44f32523b1b (patch) | |
tree | 2266a12f833d72faa4c4ba12a997999c7013e975 /crates/ra_syntax/test_data/reparse/fuzz-failures/0001.rs | |
parent | b95b77f92f4ce73b3c9cc652ac9ae40580d308ce (diff) | |
parent | a1b5cf81ebcac15299cc612b49023bb418507027 (diff) |
Merge #4035
4035: Convert bool to ident instead of literal in mbe r=matklad a=edwin0cheng
Fixed #1249
Currently we treat boolean literal as `tt::Literal` , which makes parsing $lit:lit matcher easily.
However, proc-macro2 treat boolean literal as `ident` :
https://github.com/alexcrichton/proc-macro2/blob/4173a21dc497c67326095e438ff989cc63cd9279/src/lib.rs#L939
OT: I am quite happy we finally need to fix this bug :)
Co-authored-by: Edwin Cheng <[email protected]>
Diffstat (limited to 'crates/ra_syntax/test_data/reparse/fuzz-failures/0001.rs')
0 files changed, 0 insertions, 0 deletions