We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5cdd491 commit 299a00dCopy full SHA for 299a00d
1 file changed
rust/ql/lib/codeql/rust/internal/TypeInference.qll
@@ -1642,6 +1642,11 @@ private module Debug {
1642
tm.resolveTypeAt(path) = type
1643
}
1644
1645
+ Type debugInferAnnotatedType(AstNode n, TypePath path) {
1646
+ n = getRelevantLocatable() and
1647
+ result = inferAnnotatedType(n, path)
1648
+ }
1649
+
1650
pragma[nomagic]
1651
private int countTypesAtPath(AstNode n, TypePath path, Type t) {
1652
t = inferType(n, path) and
0 commit comments