mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 22:54:58 +00:00
CONST LOOPS ARE HERE
This commit is contained in:
parent
6f6580dec7
commit
4b989009e3
8 changed files with 38 additions and 29 deletions
|
@ -3,7 +3,7 @@
|
|||
use super::*;
|
||||
|
||||
pub(super) const PATH_FIRST: TokenSet =
|
||||
token_set![IDENT, T![self], T![super], T![crate], T![:], T![<]];
|
||||
TokenSet::new(&[IDENT, T![self], T![super], T![crate], T![:], T![<]]);
|
||||
|
||||
pub(super) fn is_path_start(p: &Parser) -> bool {
|
||||
is_use_path_start(p) || p.at(T![<])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue