mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 22:31:43 +00:00
Validate uses of self and super
This commit is contained in:
parent
6d49c7dfa3
commit
3bb46042fb
9 changed files with 180 additions and 77 deletions
|
@ -595,7 +595,7 @@ pub(crate) const AST_SRC: AstSrc = AstSrc {
|
|||
qualifier: Path,
|
||||
}
|
||||
struct PathSegment {
|
||||
T![::], T![crate], T![<], NameRef, TypeArgList, ParamList, RetType, PathType, T![>]
|
||||
T![::], T![crate], T![self], T![super], T![<], NameRef, TypeArgList, ParamList, RetType, PathType, T![>]
|
||||
}
|
||||
struct TypeArgList {
|
||||
T![::],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue