diff options
author | John Renner <[email protected]> | 2020-04-27 18:02:47 +0100 |
---|---|---|
committer | John Renner <[email protected]> | 2020-04-29 19:06:51 +0100 |
commit | 0af727da91e7ff3c8ed5518cb7e005e8d4f939b0 (patch) | |
tree | 4b1b78edb4d28b2ad98e40f054ab3efe58e33eba /xtask/src | |
parent | 7a9ba1657daa9fd90c639dcd937da11b4f526675 (diff) |
Validate the location of `crate` in paths
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 9c02f7c6f..98c8644e4 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![<], NameRef, TypeArgList, ParamList, RetType, PathType, T![>] | 598 | T![::], T![crate], T![<], NameRef, TypeArgList, ParamList, RetType, PathType, T![>] |
599 | } | 599 | } |
600 | struct TypeArgList { | 600 | struct TypeArgList { |
601 | T![::], | 601 | T![::], |