Rust: Remove leftover QL use of Resolvable.

This commit is contained in:
Geoffrey White
2025-08-26 16:53:08 +01:00
parent 152ae1d29b
commit 5d060d621b

View File

@@ -5,7 +5,6 @@
*/
private import codeql.rust.elements.internal.generated.CallExprBase
private import codeql.rust.elements.Resolvable
/**
* INTERNAL: This module contains the customizable definition of `CallExprBase` and should not
@@ -15,13 +14,6 @@ module Impl {
private import rust
private import codeql.rust.internal.TypeInference as TypeInference
pragma[nomagic]
Resolvable getCallResolvable(CallExprBase call) {
result = call.(MethodCallExpr)
or
result = call.(CallExpr).getFunction().(PathExpr)
}
// the following QLdoc is generated: if you need to edit it, do it in the schema file
/**
* A function or method call expression. See `CallExpr` and `MethodCallExpr` for further details.