Skip to content

Commit 9fbda33

Browse files
committed
wip
1 parent adfced0 commit 9fbda33

File tree

4 files changed

+122
-81
lines changed

4 files changed

+122
-81
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,5 +69,8 @@ module Impl {
6969
this.getLocation().getStartLine() <= result.getLocation().getStartLine() and
7070
result.getLocation().getStartLine() <= this.getName().getLocation().getStartLine()
7171
}
72+
73+
pragma[nomagic]
74+
predicate hasSelfParam() { this.getParamList().hasSelfParam() }
7275
}
7376
}

0 commit comments

Comments
 (0)