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 e5b4a15 commit 976fcc8Copy full SHA for 976fcc8
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