diff options
Diffstat (limited to 'crates/ra_syntax/src/grammar/paths.rs')
-rw-r--r-- | crates/ra_syntax/src/grammar/paths.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_syntax/src/grammar/paths.rs b/crates/ra_syntax/src/grammar/paths.rs index a35a339cc..33a11886c 100644 --- a/crates/ra_syntax/src/grammar/paths.rs +++ b/crates/ra_syntax/src/grammar/paths.rs | |||
@@ -78,7 +78,7 @@ fn path_segment(p: &mut Parser, mode: Mode, first: bool) { | |||
78 | // use crate::foo; | 78 | // use crate::foo; |
79 | SELF_KW | SUPER_KW | CRATE_KW => p.bump(), | 79 | SELF_KW | SUPER_KW | CRATE_KW => p.bump(), |
80 | _ => { | 80 | _ => { |
81 | p.err_and_bump("expected identifier"); | 81 | p.err_recover("expected identifier", items::ITEM_RECOVERY_SET); |
82 | } | 82 | } |
83 | }; | 83 | }; |
84 | } | 84 | } |