aboutsummaryrefslogtreecommitdiff
path: root/xtask/src
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-07-31 17:49:42 +0100
committerAleksey Kladov <[email protected]>2020-07-31 17:49:42 +0100
commitc1c97b289662501cea93fdc10760e08702ff5950 (patch)
tree8db83308ee58e07dcfd5071462460a8a50f1ce91 /xtask/src
parentddf08daddf7e86d67e8d2e5596f8013b376dd522 (diff)
Fix leading colon
Diffstat (limited to 'xtask/src')
-rw-r--r--xtask/src/codegen/rust.ungram3
1 files changed, 2 insertions, 1 deletions
diff --git a/xtask/src/codegen/rust.ungram b/xtask/src/codegen/rust.ungram
index 8536b9748..1d8bed0b4 100644
--- a/xtask/src/codegen/rust.ungram
+++ b/xtask/src/codegen/rust.ungram
@@ -2,7 +2,8 @@ Path =
2 (qualifier:Path '::')? segment:PathSegment 2 (qualifier:Path '::')? segment:PathSegment
3 3
4PathSegment = 4PathSegment =
5 '::' | 'crate' | 'self' | 'super' 5 'crate' | 'self' | 'super'
6| '::' NameRef
6| NameRef GenericArgList? 7| NameRef GenericArgList?
7| NameRef ParamList RetType? 8| NameRef ParamList RetType?
8| '<' PathType ('as' PathType)? '>' 9| '<' PathType ('as' PathType)? '>'