Skip to content

Commit c972bb8

Browse files
committed
Rust: Revert change in multipleResolvedTargets
1 parent c567c67 commit c972bb8

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

rust/ql/lib/codeql/rust/internal/PathResolutionConsistency.qll

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ query predicate multiplePathResolutions(Path p, ItemNode i) {
2626

2727
/** Holds if `ie` has multiple resolved targets including `target`. */
2828
query predicate multipleResolvedTargets(InvocationExpr ie, Addressable target) {
29-
not ie.(AstNode).isInMacroExpansion() and
3029
target = ie.getResolvedTarget() and
3130
strictcount(ie.getResolvedTarget()) > 1
3231
}

0 commit comments

Comments
 (0)