Commit a3cc9a29 authored by Ryan Scott's avatar Ryan Scott Committed by Marge Bot

Fix #19649 by using filterInScopeM in rnFamEqn

Previously, associated type family instances would incorrectly claim to
implicitly quantify over type variables bound by the instance head in the
`HsOuterImplicit`s that `rnFamEqn` returned. This is fixed by using
`filterInScopeM` to filter out any type variables that the instance head

Fixes #19649.
parent e0d861d4
Pipeline #34127 canceled with stages