We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8ce2618 + 114db99 commit 7d34f6eCopy full SHA for 7d34f6e
rust/ql/lib/codeql/rust/internal/typeinference/TypeInference.qll
@@ -3811,12 +3811,12 @@ private module ForIterableSatisfiesConstraintInput implements
3811
3812
pragma[nomagic]
3813
private AssociatedTypeTypeParameter getIteratorItemTypeParameter() {
3814
- result.getTypeAlias() = any(IteratorTrait t).getItemType()
+ result = getAssociatedTypeTypeParameter(any(IteratorTrait t).getItemType())
3815
}
3816
3817
3818
private AssociatedTypeTypeParameter getIntoIteratorItemTypeParameter() {
3819
- result.getTypeAlias() = any(IntoIteratorTrait t).getItemType()
+ result = getAssociatedTypeTypeParameter(any(IntoIteratorTrait t).getItemType())
3820
3821
3822
0 commit comments