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