mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Rust: undo rename of Path::segment to Path::part
This commit is contained in:
@@ -87,6 +87,7 @@ class _:
|
||||
foo::bar;
|
||||
```
|
||||
"""
|
||||
segment: _ | ql.db_table_name("path_segments_") | doc("last segment of this path")
|
||||
|
||||
|
||||
@annotate(GenericArgList)
|
||||
|
||||
2
rust/schema/ast.py
generated
2
rust/schema/ast.py
generated
@@ -479,7 +479,7 @@ class ParenthesizedArgList(AstNode, ):
|
||||
|
||||
class Path(AstNode, ):
|
||||
qualifier: optional["Path"] | child
|
||||
part: optional["PathSegment"] | child
|
||||
segment: optional["PathSegment"] | child
|
||||
|
||||
class PathExpr(Expr, ):
|
||||
attrs: list["Attr"] | child
|
||||
|
||||
Reference in New Issue
Block a user