Skip to content

Commit 5d060d6

Browse files
committed
Rust: Remove leftover QL use of Resolvable.
1 parent 152ae1d commit 5d060d6

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

rust/ql/lib/codeql/rust/elements/internal/CallExprBaseImpl.qll

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
*/
66

77
private import codeql.rust.elements.internal.generated.CallExprBase
8-
private import codeql.rust.elements.Resolvable
98

109
/**
1110
* INTERNAL: This module contains the customizable definition of `CallExprBase` and should not
@@ -15,13 +14,6 @@ module Impl {
1514
private import rust
1615
private import codeql.rust.internal.TypeInference as TypeInference
1716

18-
pragma[nomagic]
19-
Resolvable getCallResolvable(CallExprBase call) {
20-
result = call.(MethodCallExpr)
21-
or
22-
result = call.(CallExpr).getFunction().(PathExpr)
23-
}
24-
2517
// the following QLdoc is generated: if you need to edit it, do it in the schema file
2618
/**
2719
* A function or method call expression. See `CallExpr` and `MethodCallExpr` for further details.

0 commit comments

Comments
 (0)