From 23e6a825aad9f07b48630331a59705aade42f3cd Mon Sep 17 00:00:00 2001 From: Arthur Baars Date: Mon, 16 Dec 2024 15:50:50 +0100 Subject: [PATCH] Rust: fix QL code --- rust/ql/lib/codeql/rust/elements/internal/VariableImpl.qll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust/ql/lib/codeql/rust/elements/internal/VariableImpl.qll b/rust/ql/lib/codeql/rust/elements/internal/VariableImpl.qll index b21cf924204e..77087fa06463 100644 --- a/rust/ql/lib/codeql/rust/elements/internal/VariableImpl.qll +++ b/rust/ql/lib/codeql/rust/elements/internal/VariableImpl.qll @@ -177,7 +177,7 @@ module Impl { not p.hasQualifier() and ps = p.getPart() and not ps.hasGenericArgList() and - not ps.hasParamList() and + not ps.hasParenthesizedArgList() and not ps.hasPathType() and not ps.hasReturnTypeSyntax() and name_ = ps.getNameRef().getText()