diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-04-25 17:26:51 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-04-25 17:26:51 +0100 |
commit | 5671bacfa66a9d83daa1cc42f72ec8701412ccdc (patch) | |
tree | 868ad449c6ab0e124793ecb45235d2624667c2bd /crates/ra_hir_def/src/nameres/tests/globs.rs | |
parent | 67afeebaf597765828801d7cddcb2976a0ee135d (diff) | |
parent | d5eb43f246236b18646d9090ac2c4b6b04aee5b3 (diff) |
Merge #4139
4139: Add check for rules that no repetition which could match an empty token r=matklad a=edwin0cheng
Fix #4103
for `/ui/issues/issue-57597.rs`
This is `ParseError` of the macro rules , because it is how rustc handle it :
https://github.com/rust-lang/rust/blob/a58b1ed44f5e06976de2bdc4d7dc81c36a96934f/src/librustc_expand/mbe/macro_rules.rs#L558
Co-authored-by: Edwin Cheng <[email protected]>
Diffstat (limited to 'crates/ra_hir_def/src/nameres/tests/globs.rs')
0 files changed, 0 insertions, 0 deletions