We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e4ad58 commit 373a0a4Copy full SHA for 373a0a4
1 file changed
rust/ql/lib/codeql/rust/internal/TypeInference.qll
@@ -1468,6 +1468,11 @@ private module Debug {
1468
result = resolveMethodCallTarget(mce)
1469
}
1470
1471
+ predicate debugTypeMention(TypeMention tm, TypePath path, Type type) {
1472
+ tm = getRelevantLocatable() and
1473
+ tm.resolveTypeAt(path) = type
1474
+ }
1475
+
1476
pragma[nomagic]
1477
private int countTypes(AstNode n, TypePath path, Type t) {
1478
t = inferType(n, path) and
0 commit comments