mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Rust: rename MatchExpr.expr to scrutinee in all layers
This doesn't require `ql.name` and is simpler while we don't have to write upgrade scripts. The `ql.name` mechanism might get useful once we do have to write upgrade scripts, as that doesn't change the dbscheme.
This commit is contained in:
2
rust/schema/ast.py
generated
2
rust/schema/ast.py
generated
@@ -364,7 +364,7 @@ class MatchArmList(AstNode):
|
||||
|
||||
class MatchExpr(Expr):
|
||||
attrs: list["Attr"] | child
|
||||
expr: optional["Expr"] | child
|
||||
scrutinee: optional["Expr"] | child
|
||||
match_arm_list: optional["MatchArmList"] | child
|
||||
|
||||
class MatchGuard(AstNode):
|
||||
|
||||
Reference in New Issue
Block a user