diff options
Diffstat (limited to 'xtask/src/codegen')
-rw-r--r-- | xtask/src/codegen/rust.ungram | 3 |
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 | ||
4 | PathSegment = | 4 | PathSegment = |
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)? '>' |