diff options
Diffstat (limited to 'compiler/GHC/Tc/Instance/Family.hs')
-rw-r--r-- | compiler/GHC/Tc/Instance/Family.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/GHC/Tc/Instance/Family.hs b/compiler/GHC/Tc/Instance/Family.hs index 68c894f2e4..c6d3010ff1 100644 --- a/compiler/GHC/Tc/Instance/Family.hs +++ b/compiler/GHC/Tc/Instance/Family.hs @@ -990,8 +990,8 @@ reportUnusedInjectiveVarsErr fam_tc tvs has_kinds undec_inst tyfamEqn (tyfamEqn :| []) in addErrAt loc (pprWithExplicitKindsWhen has_kinds doc) where - herald = sep [ what <+> text "variable" <> - pluralVarSet tvs <+> pprVarSet tvs (pprQuotedList . scopedSort) + herald = sep [ what <+> pluralVarSet "variable" tvs + <+> pprVarSet tvs (pprQuotedList . scopedSort) , text "cannot be inferred from the right-hand side." ] $$ extra |