fixup! Finalize Path grammar

This commit is contained in:
Aleksey Kladov 2020-07-31 18:30:02 +02:00
parent 91781c7ce8
commit d21b5db891

View file

@ -3,7 +3,7 @@ Path =
PathSegment = PathSegment =
'::' | 'crate' | 'self' | 'super' '::' | 'crate' | 'self' | 'super'
| (NameRef ('::'? GenericArgList)?) | NameRef GenericArgList?
| NameRef ParamList RetType? | NameRef ParamList RetType?
| '<' PathType ('as' PathType)? '>' | '<' PathType ('as' PathType)? '>'