Skip to content

Commit 60c212b

Browse files
committed
Rust: Update for changes on main.
1 parent ba560f2 commit 60c212b

File tree

1 file changed

+1
-1
lines changed
  • rust/ql/lib/codeql/rust/frameworks

1 file changed

+1
-1
lines changed

rust/ql/lib/codeql/rust/frameworks/Sqlx.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ private class SqlxQuery extends SqlConstruction::Range {
1414

1515
SqlxQuery() {
1616
this.asExpr().getExpr() = call and
17-
call.getExpr().(PathExpr).getPath().getResolvedPath() =
17+
call.getFunction().(PathExpr).getPath().getResolvedPath() =
1818
[
1919
"crate::query::query", "crate::query_as::query_as", "crate::query_with::query_with",
2020
"crate::query_as_with::query_as_with", "crate::query_scalar::query_scalar",

0 commit comments

Comments
 (0)