summaryrefslogtreecommitdiff
path: root/testsuite/tests/qualifieddo
diff options
context:
space:
mode:
authorsheaf <sam.derbyshire@gmail.com>2022-01-17 10:45:35 +0100
committersheaf <sam.derbyshire@gmail.com>2022-01-17 14:52:50 +0000
commitf161e890dfd41fd9735f4e259fffe2ce6d00ec1a (patch)
treee6c54b25f3cbb87458dea92c04e23993997e3746 /testsuite/tests/qualifieddo
parenta13aff98cfccddee285b6550dd08c6ec1a3c4e17 (diff)
downloadhaskell-f161e890dfd41fd9735f4e259fffe2ce6d00ec1a.tar.gz
Use diagnostic infrastructure in GHC.Tc.Errors
Diffstat (limited to 'testsuite/tests/qualifieddo')
-rw-r--r--testsuite/tests/qualifieddo/should_fail/qdofail003.stderr7
-rw-r--r--testsuite/tests/qualifieddo/should_fail/qdofail004.stderr7
2 files changed, 8 insertions, 6 deletions
diff --git a/testsuite/tests/qualifieddo/should_fail/qdofail003.stderr b/testsuite/tests/qualifieddo/should_fail/qdofail003.stderr
index 8cf5f670ac..ed59cd2bf4 100644
--- a/testsuite/tests/qualifieddo/should_fail/qdofail003.stderr
+++ b/testsuite/tests/qualifieddo/should_fail/qdofail003.stderr
@@ -1,5 +1,6 @@
-qdofail003.hs:11:5:
+qdofail003.hs:11:5: error:
Not in scope: ‘P.>>’
- Perhaps you want to remove ‘>>’ from the explicit hiding list
- in the import of ‘Prelude’ (qdofail003.hs:3:1-33).
+ Suggested fix:
+ Perhaps you want to remove ‘>>’ from the explicit hiding list
+ in the import of ‘Prelude’ (qdofail003.hs:3:1-33).
diff --git a/testsuite/tests/qualifieddo/should_fail/qdofail004.stderr b/testsuite/tests/qualifieddo/should_fail/qdofail004.stderr
index 39752a2995..cfe60a9010 100644
--- a/testsuite/tests/qualifieddo/should_fail/qdofail004.stderr
+++ b/testsuite/tests/qualifieddo/should_fail/qdofail004.stderr
@@ -1,5 +1,6 @@
-qdofail004.hs:10:5:
+qdofail004.hs:10:5: error:
Not in scope: ‘P.fail’
- Perhaps you want to remove ‘fail’ from the explicit hiding list
- in the import of ‘Prelude’ (qdofail004.hs:3:1-33).
+ Suggested fix:
+ Perhaps you want to remove ‘fail’ from the explicit hiding list
+ in the import of ‘Prelude’ (qdofail004.hs:3:1-33).