We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dc3b7aa commit 114db99Copy full SHA for 114db99
rust/ql/lib/codeql/rust/internal/typeinference/TypeInference.qll
@@ -3770,12 +3770,12 @@ private module ForIterableSatisfiesConstraintInput implements
3770
3771
pragma[nomagic]
3772
private AssociatedTypeTypeParameter getIteratorItemTypeParameter() {
3773
- result.getTypeAlias() = any(IteratorTrait t).getItemType()
+ result = getAssociatedTypeTypeParameter(any(IteratorTrait t).getItemType())
3774
}
3775
3776
3777
private AssociatedTypeTypeParameter getIntoIteratorItemTypeParameter() {
3778
- result.getTypeAlias() = any(IntoIteratorTrait t).getItemType()
+ result = getAssociatedTypeTypeParameter(any(IntoIteratorTrait t).getItemType())
3779
3780
3781
0 commit comments