mirror of
https://github.com/github/codeql.git
synced 2026-02-12 05:01:06 +01:00
Merge pull request #21204 from paldepind/rust/assoc-tp-fix
Rust: Remove mistakenly included inherited associated types
This commit is contained in:
@@ -3811,12 +3811,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]
|
||||
|
||||
Reference in New Issue
Block a user