diff options
author | John Renner <[email protected]> | 2020-05-01 16:59:24 +0100 |
---|---|---|
committer | John Renner <[email protected]> | 2020-05-01 16:59:24 +0100 |
commit | 3bb46042fb5b8ee421e350c54079cb68b4edc996 (patch) | |
tree | d464e978f3bde80b73e57bc83adcf9154e7169c2 /xtask/src | |
parent | 6d49c7dfa3ae33e610905522caf5734c7cbca3ac (diff) |
Validate uses of self and super
Diffstat (limited to 'xtask/src')
-rw-r--r-- | xtask/src/ast_src.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xtask/src/ast_src.rs b/xtask/src/ast_src.rs index c14804aad..1abb62f6f 100644 --- a/xtask/src/ast_src.rs +++ b/xtask/src/ast_src.rs | |||
@@ -595,7 +595,7 @@ pub(crate) const AST_SRC: AstSrc = AstSrc { | |||
595 | qualifier: Path, | 595 | qualifier: Path, |
596 | } | 596 | } |
597 | struct PathSegment { | 597 | struct PathSegment { |
598 | T![::], T![crate], T![<], NameRef, TypeArgList, ParamList, RetType, PathType, T![>] | 598 | T![::], T![crate], T![self], T![super], T![<], NameRef, TypeArgList, ParamList, RetType, PathType, T![>] |
599 | } | 599 | } |
600 | struct TypeArgList { | 600 | struct TypeArgList { |
601 | T![::], | 601 | T![::], |