summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci/scripts/T15325.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/ghci/scripts/T15325.stderr')
-rw-r--r--testsuite/tests/ghci/scripts/T15325.stderr5
1 files changed, 2 insertions, 3 deletions
diff --git a/testsuite/tests/ghci/scripts/T15325.stderr b/testsuite/tests/ghci/scripts/T15325.stderr
index 99efb5585e..cd473af4dc 100644
--- a/testsuite/tests/ghci/scripts/T15325.stderr
+++ b/testsuite/tests/ghci/scripts/T15325.stderr
@@ -8,11 +8,10 @@ T15325.hs:11:9: warning: [-Wdeferred-type-errors (in -Wdefault)]
• Ambiguous type variable ‘e0’ arising from the literal ‘0’
prevents the constraint ‘(Num e0)’ from being solved.
Probable fix: use a type annotation to specify what ‘e0’ should be.
- These potential instances exist:
+ Potentially matching instances:
instance Num Integer -- Defined in ‘GHC.Num’
instance Num Double -- Defined in ‘GHC.Float’
- instance Num Float -- Defined in ‘GHC.Float’
- ...plus N others
+ ...plus three others
...plus one instance involving out-of-scope types
(use -fprint-potential-instances to see them all)
• In the first argument of ‘f’, namely ‘0’