mirror of
https://github.com/github/codeql.git
synced 2026-04-27 17:55:19 +02:00
Rust: Remove condition that always holds
This commit is contained in:
@@ -650,7 +650,6 @@ final class ImplItemNode extends ImplOrTraitItemNode instanceof Impl {
|
||||
|
||||
TypeParamItemNode getBlanketImplementationTypeParam() {
|
||||
result = this.resolveSelfTy() and
|
||||
result = super.getGenericParamList().getAGenericParam() and
|
||||
// This impl block is not superseded by the expansion of an attribute macro.
|
||||
not exists(super.getAttributeMacroExpansion())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user