We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1425bb8 commit 38aacb0Copy full SHA for 38aacb0
1 file changed
rust/ql/lib/codeql/rust/internal/TypeInference.qll
@@ -1594,6 +1594,11 @@ private module Debug {
1594
result = resolveMethodCallTarget(mce)
1595
}
1596
1597
+ predicate debugTypeMention(TypeMention tm, TypePath path, Type type) {
1598
+ tm = getRelevantLocatable() and
1599
+ tm.resolveTypeAt(path) = type
1600
+ }
1601
+
1602
pragma[nomagic]
1603
private int countTypes(AstNode n, TypePath path, Type t) {
1604
t = inferType(n, path) and
0 commit comments