diff options
author | Evgenii P <[email protected]> | 2019-08-09 10:08:36 +0100 |
---|---|---|
committer | Evgenii P <[email protected]> | 2019-08-09 10:08:36 +0100 |
commit | fa24e20867893178ed7265ecadb2bcb09cf76dac (patch) | |
tree | 40db0d5e514bf1d260aa21a3a305b37986136481 /crates/ra_parser/src/grammar/paths.rs | |
parent | 957b5ed23a4860fe3c9b80687a801b5d7870fe00 (diff) |
Make name_ref to accept numeric names optionally
Diffstat (limited to 'crates/ra_parser/src/grammar/paths.rs')
-rw-r--r-- | crates/ra_parser/src/grammar/paths.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_parser/src/grammar/paths.rs b/crates/ra_parser/src/grammar/paths.rs index 3537b0da1..2c8f0f7e8 100644 --- a/crates/ra_parser/src/grammar/paths.rs +++ b/crates/ra_parser/src/grammar/paths.rs | |||
@@ -71,7 +71,7 @@ fn path_segment(p: &mut Parser, mode: Mode, first: bool) { | |||
71 | } | 71 | } |
72 | match p.current() { | 72 | match p.current() { |
73 | IDENT => { | 73 | IDENT => { |
74 | name_ref(p); | 74 | name_ref(p, false); |
75 | opt_path_type_args(p, mode); | 75 | opt_path_type_args(p, mode); |
76 | } | 76 | } |
77 | // test crate_path | 77 | // test crate_path |