summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--testsuite/tests/overloadedrecflds/should_fail/hasfieldfail03.stderr8
1 files changed, 4 insertions, 4 deletions
diff --git a/testsuite/tests/overloadedrecflds/should_fail/hasfieldfail03.stderr b/testsuite/tests/overloadedrecflds/should_fail/hasfieldfail03.stderr
index 2fb8dbdb32..71192b2a98 100644
--- a/testsuite/tests/overloadedrecflds/should_fail/hasfieldfail03.stderr
+++ b/testsuite/tests/overloadedrecflds/should_fail/hasfieldfail03.stderr
@@ -1,20 +1,20 @@
-hasfieldfail03.hs:8:10: error:
+hasfieldfail03.hs:9:10: error:
• Illegal instance declaration for ‘HasField "woo" a Bool’
Record data type must be specified
• In the instance declaration for ‘HasField "woo" a Bool’
-hasfieldfail03.hs:12:10: error:
+hasfieldfail03.hs:13:10: error:
• Illegal instance declaration for ‘HasField "foo" T Int’
T already has a field ‘foo’
• In the instance declaration for ‘HasField "foo" T Int’
-hasfieldfail03.hs:16:10: error:
+hasfieldfail03.hs:17:10: error:
• Illegal instance declaration for ‘HasField "bar" T Bool’
T already has a field ‘bar’
• In the instance declaration for ‘HasField "bar" T Bool’
-hasfieldfail03.hs:33:10: error:
+hasfieldfail03.hs:34:10: error:
• Illegal instance declaration for
‘HasField "baz" (V a b c d) Bool’
Record data type may not be a data family