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 c141f41 commit 1bd6f3eCopy full SHA for 1bd6f3e
rust/ql/lib/codeql/rust/internal/TypeInference.qll
@@ -619,7 +619,7 @@ private module CallExprBaseMatchingInput implements MatchingInputSig {
619
exists(Param p, int i |
620
paramPos(this.getParamList(), p, i) and
621
i = dpos.asPosition() and
622
- result = inferAnnotatedType(p.getPat(), path)
+ result = p.getTypeRepr().(TypeMention).resolveTypeAt(path)
623
)
624
or
625
exists(SelfParam self |
0 commit comments