summaryrefslogtreecommitdiff
path: root/testsuite/tests/quotes/TH_localname.stderr
diff options
context:
space:
mode:
authorsheaf <sam.derbyshire@gmail.com>2021-11-19 10:19:19 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-11-20 18:13:23 -0500
commit742d8b6049c30f3b0cd1704d7a34d865bef41712 (patch)
treeb22ad862ca4db2e9004d8b4ab4aafbc11bcde0a9 /testsuite/tests/quotes/TH_localname.stderr
parentbc7e9f038112496c45aeb81d1504e57acb3722c7 (diff)
downloadhaskell-742d8b6049c30f3b0cd1704d7a34d865bef41712.tar.gz
Include "not more specific" info in overlap msg
When instances overlap, we now include additional information about why we weren't able to select an instance: perhaps one instance overlapped another but was not strictly more specific, so we aren't able to directly choose it. Fixes #20542
Diffstat (limited to 'testsuite/tests/quotes/TH_localname.stderr')
-rw-r--r--testsuite/tests/quotes/TH_localname.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/tests/quotes/TH_localname.stderr b/testsuite/tests/quotes/TH_localname.stderr
index db549a63e2..246781a336 100644
--- a/testsuite/tests/quotes/TH_localname.stderr
+++ b/testsuite/tests/quotes/TH_localname.stderr
@@ -7,7 +7,7 @@ TH_localname.hs:3:11: error:
x :: t0 -> m0 Language.Haskell.TH.Syntax.Exp
(bound at TH_localname.hs:3:1)
Probable fix: use a type annotation to specify what ‘m0’ should be.
- These potential instances exist:
+ Potentially matching instance:
instance Language.Haskell.TH.Syntax.Quote IO
-- Defined in ‘Language.Haskell.TH.Syntax’
...plus one instance involving out-of-scope types