aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_parser/src/parser.rs
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2019-12-19 16:15:19 +0000
committerGitHub <[email protected]>2019-12-19 16:15:19 +0000
commitf00904e996e9bc59749fb0d2696a711e9b881ae3 (patch)
tree69341c02cf6de6238102bef32014c11839fce289 /crates/ra_parser/src/parser.rs
parentaee2eee3626020cbfa338d94f5371b0d3c8d82e3 (diff)
parent0ed8ce096d3ae9ee4027ab4723958a021ef24194 (diff)
Merge #2598
2598: Touch up TokenSet a bit r=matklad a=matklad Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_parser/src/parser.rs')
-rw-r--r--crates/ra_parser/src/parser.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_parser/src/parser.rs b/crates/ra_parser/src/parser.rs
index dafd5247b..1071c46dc 100644
--- a/crates/ra_parser/src/parser.rs
+++ b/crates/ra_parser/src/parser.rs
@@ -208,7 +208,7 @@ impl<'t> Parser<'t> {
208 208
209 /// Create an error node and consume the next token. 209 /// Create an error node and consume the next token.
210 pub(crate) fn err_and_bump(&mut self, message: &str) { 210 pub(crate) fn err_and_bump(&mut self, message: &str) {
211 self.err_recover(message, TokenSet::empty()); 211 self.err_recover(message, TokenSet::EMPTY);
212 } 212 }
213 213
214 /// Create an error node and consume the next token. 214 /// Create an error node and consume the next token.