mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 14:51:48 +00:00
Fix leading colon
This commit is contained in:
parent
ddf08daddf
commit
c1c97b2896
2 changed files with 3 additions and 2 deletions
|
@ -2,7 +2,8 @@ Path =
|
|||
(qualifier:Path '::')? segment:PathSegment
|
||||
|
||||
PathSegment =
|
||||
'::' | 'crate' | 'self' | 'super'
|
||||
'crate' | 'self' | 'super'
|
||||
| '::' NameRef
|
||||
| NameRef GenericArgList?
|
||||
| NameRef ParamList RetType?
|
||||
| '<' PathType ('as' PathType)? '>'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue