mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 12:29:21 +00:00
Touch up TokenSet a bit
This commit is contained in:
parent
a766f63650
commit
0ed8ce096d
4 changed files with 6 additions and 8 deletions
|
@ -208,7 +208,7 @@ impl<'t> Parser<'t> {
|
|||
|
||||
/// Create an error node and consume the next token.
|
||||
pub(crate) fn err_and_bump(&mut self, message: &str) {
|
||||
self.err_recover(message, TokenSet::empty());
|
||||
self.err_recover(message, TokenSet::EMPTY);
|
||||
}
|
||||
|
||||
/// Create an error node and consume the next token.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue