mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +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:
@@ -289,7 +289,7 @@ class _:
|
||||
}
|
||||
```
|
||||
"""
|
||||
expr: _ | ql.name("scrutinee") | doc("scrutinee (the expression being matched) of this match expression")
|
||||
scrutinee: _ | doc("scrutinee (the expression being matched) of this match expression")
|
||||
|
||||
|
||||
@annotate(ContinueExpr, cfg = True)
|
||||
|
||||
Reference in New Issue
Block a user