Skip to content

Commit 75355e9

Browse files
committed
Rust: Revert conjunct reorder
1 parent 1b7f4e4 commit 75355e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shared/typeinference/codeql/typeinference/internal/TypeInference.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -540,8 +540,8 @@ module Make1<LocationSig Location, InputSig1<Location> Input1> {
540540
) {
541541
not exists(getTypeArgument(a, target, tp, _)) and
542542
exists(AccessPosition apos, DeclarationPosition dpos, TypePath pathToTypeParam |
543-
accessDeclarationPositionMatch(apos, dpos) and
544543
tp = target.getDeclaredType(dpos, pathToTypeParam) and
544+
accessDeclarationPositionMatch(apos, dpos) and
545545
adjustedAccessType(a, apos, target, pathToTypeParam.append(path), t)
546546
)
547547
}

0 commit comments

Comments
 (0)