From fa24e20867893178ed7265ecadb2bcb09cf76dac Mon Sep 17 00:00:00 2001 From: Evgenii P Date: Fri, 9 Aug 2019 16:08:36 +0700 Subject: Make name_ref to accept numeric names optionally --- crates/ra_parser/src/grammar/paths.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/ra_parser/src/grammar/paths.rs') 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) { } match p.current() { IDENT => { - name_ref(p); + name_ref(p, false); opt_path_type_args(p, mode); } // test crate_path -- cgit v1.2.3