Skip to content

Commit 3543829

Browse files
committed
Rust: Remove condition that always holds
1 parent 875c7da commit 3543829

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -650,7 +650,6 @@ final class ImplItemNode extends ImplOrTraitItemNode instanceof Impl {
650650

651651
TypeParamItemNode getBlanketImplementationTypeParam() {
652652
result = this.resolveSelfTy() and
653-
result = super.getGenericParamList().getAGenericParam() and
654653
// This impl block is not superseded by the expansion of an attribute macro.
655654
not exists(super.getAttributeMacroExpansion())
656655
}

0 commit comments

Comments
 (0)