Rust: Remove mistakenly included inherited associated types

This commit is contained in:
Simon Friis Vindum
2026-01-22 11:44:26 +01:00
parent dc3b7aaab0
commit 114db99dca

View File

@@ -3770,12 +3770,12 @@ private module ForIterableSatisfiesConstraintInput implements
pragma[nomagic]
private AssociatedTypeTypeParameter getIteratorItemTypeParameter() {
result.getTypeAlias() = any(IteratorTrait t).getItemType()
result = getAssociatedTypeTypeParameter(any(IteratorTrait t).getItemType())
}
pragma[nomagic]
private AssociatedTypeTypeParameter getIntoIteratorItemTypeParameter() {
result.getTypeAlias() = any(IntoIteratorTrait t).getItemType()
result = getAssociatedTypeTypeParameter(any(IntoIteratorTrait t).getItemType())
}
pragma[nomagic]