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 1e9520c commit 8cd357aCopy full SHA for 8cd357a
rust/ql/lib/codeql/rust/internal/TypeInference.qll
@@ -654,7 +654,7 @@ private module CallExprBaseMatchingInput implements MatchingInputSig {
654
exists(Param p, int i |
655
paramPos(this.getParamList(), p, i) and
656
i = dpos.asPosition() and
657
- result = inferAnnotatedType(p.getPat(), path)
+ result = p.getTypeRepr().(TypeMention).resolveTypeAt(path)
658
)
659
or
660
exists(SelfParam self |
0 commit comments