Skip to content

Commit 23e6a82

Browse files
committed
Rust: fix QL code
1 parent 029e260 commit 23e6a82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ module Impl {
177177
not p.hasQualifier() and
178178
ps = p.getPart() and
179179
not ps.hasGenericArgList() and
180-
not ps.hasParamList() and
180+
not ps.hasParenthesizedArgList() and
181181
not ps.hasPathType() and
182182
not ps.hasReturnTypeSyntax() and
183183
name_ = ps.getNameRef().getText()

0 commit comments

Comments
 (0)