summaryrefslogtreecommitdiff
path: root/testsuite/tests/deriving/should_fail/drvfail003.stderr
diff options
context:
space:
mode:
authorSwann Moreau <evertedsphere@gmail.com>2022-06-30 10:08:07 +0200
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-08-19 18:29:21 -0400
commit51ffd00906d1c75dc72c71ba4216b480996c8ce2 (patch)
treebad8746acded2a4da4de1ef3a3eb90c51e7f66d9 /testsuite/tests/deriving/should_fail/drvfail003.stderr
parente5567289c576a76f62bd78bd823a824c7ca83de6 (diff)
downloadhaskell-51ffd00906d1c75dc72c71ba4216b480996c8ce2.tar.gz
Print constraints in quotes (#21167)
This patch improves the uniformity of error message formatting by printing constraints in quotes, as we do for types. Fix #21167
Diffstat (limited to 'testsuite/tests/deriving/should_fail/drvfail003.stderr')
-rw-r--r--testsuite/tests/deriving/should_fail/drvfail003.stderr14
1 files changed, 7 insertions, 7 deletions
diff --git a/testsuite/tests/deriving/should_fail/drvfail003.stderr b/testsuite/tests/deriving/should_fail/drvfail003.stderr
index 6e06abf3b5..fea6c66258 100644
--- a/testsuite/tests/deriving/should_fail/drvfail003.stderr
+++ b/testsuite/tests/deriving/should_fail/drvfail003.stderr
@@ -1,8 +1,8 @@
-drvfail003.hs:16:56:
- No instance for (Show (v (v a)))
- arising from the first field of ‘End’ (type ‘v (v a)’)
- Possible fix:
- use a standalone 'deriving instance' declaration,
- so you can specify the instance context yourself
- When deriving the instance for (Show (Square_ v w a))
+drvfail003.hs:16:56: error:
+ • No instance for ‘Show (v (v a))’
+ arising from the first field of ‘End’ (type ‘v (v a)’)
+ Possible fix:
+ use a standalone 'deriving instance' declaration,
+ so you can specify the instance context yourself
+ • When deriving the instance for (Show (Square_ v w a))