We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d10002c commit 209c50aCopy full SHA for 209c50a
rust/ql/lib/codeql/rust/internal/TypeInference.qll
@@ -614,7 +614,7 @@ private module CallExprBaseMatchingInput implements MatchingInputSig {
614
exists(Param p, int i |
615
paramPos(this.getParamList(), p, i) and
616
i = dpos.asPosition() and
617
- result = inferAnnotatedType(p.getPat(), path)
+ result = p.getTypeRepr().(TypeMention).resolveTypeAt(path)
618
)
619
or
620
exists(SelfParam self |
0 commit comments