mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 14:21:44 +00:00
Validate the location of crate
in paths
This commit is contained in:
parent
7a9ba1657d
commit
0af727da91
5 changed files with 121 additions and 1 deletions
|
@ -595,7 +595,7 @@ pub(crate) const AST_SRC: AstSrc = AstSrc {
|
|||
qualifier: Path,
|
||||
}
|
||||
struct PathSegment {
|
||||
T![::], T![<], NameRef, TypeArgList, ParamList, RetType, PathType, T![>]
|
||||
T![::], T![crate], T![<], NameRef, TypeArgList, ParamList, RetType, PathType, T![>]
|
||||
}
|
||||
struct TypeArgList {
|
||||
T![::],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue