summaryrefslogtreecommitdiff
path: root/testsuite/tests/quasiquotation
diff options
context:
space:
mode:
authorTorsten Schmits <git@tryp.io>2023-03-15 17:26:59 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2023-03-21 11:18:34 -0400
commiteeea0343f1bd5e3359c32c10fffb2a300c4924ba (patch)
treebd0469da4dce3557e7a227cacb2b5d2b2757fc1a /testsuite/tests/quasiquotation
parentbb05b4ccdfe81e9fc60065337eafa9c94499ad61 (diff)
downloadhaskell-eeea0343f1bd5e3359c32c10fffb2a300c4924ba.tar.gz
Add structured error messages for GHC.Tc.Utils.Env
Tracking ticket: #20119 MR: !10129 This converts uses of `mkTcRnUnknownMessage` to newly added constructors of `TcRnMessage`.
Diffstat (limited to 'testsuite/tests/quasiquotation')
-rw-r--r--testsuite/tests/quasiquotation/qq001/qq001.stderr2
-rw-r--r--testsuite/tests/quasiquotation/qq002/qq002.stderr2
-rw-r--r--testsuite/tests/quasiquotation/qq003/qq003.stderr2
-rw-r--r--testsuite/tests/quasiquotation/qq004/qq004.stderr2
4 files changed, 4 insertions, 4 deletions
diff --git a/testsuite/tests/quasiquotation/qq001/qq001.stderr b/testsuite/tests/quasiquotation/qq001/qq001.stderr
index 350dd418c0..d1fdbdf62e 100644
--- a/testsuite/tests/quasiquotation/qq001/qq001.stderr
+++ b/testsuite/tests/quasiquotation/qq001/qq001.stderr
@@ -1,5 +1,5 @@
-qq001.hs:7:16:
+qq001.hs:7:16: [GHC-18157]
GHC stage restriction:
‘parse’ is used in a top-level splice, quasi-quote, or annotation,
and must be imported, not defined locally
diff --git a/testsuite/tests/quasiquotation/qq002/qq002.stderr b/testsuite/tests/quasiquotation/qq002/qq002.stderr
index 12ab3751dd..984ce45272 100644
--- a/testsuite/tests/quasiquotation/qq002/qq002.stderr
+++ b/testsuite/tests/quasiquotation/qq002/qq002.stderr
@@ -1,5 +1,5 @@
-qq002.hs:8:10:
+qq002.hs:8:10: [GHC-18157]
GHC stage restriction:
‘parse’ is used in a top-level splice, quasi-quote, or annotation,
and must be imported, not defined locally
diff --git a/testsuite/tests/quasiquotation/qq003/qq003.stderr b/testsuite/tests/quasiquotation/qq003/qq003.stderr
index dd7fa8c872..ad6972ada4 100644
--- a/testsuite/tests/quasiquotation/qq003/qq003.stderr
+++ b/testsuite/tests/quasiquotation/qq003/qq003.stderr
@@ -1,5 +1,5 @@
-qq003.hs:5:26:
+qq003.hs:5:26: [GHC-18157]
GHC stage restriction:
‘parse’ is used in a top-level splice, quasi-quote, or annotation,
and must be imported, not defined locally
diff --git a/testsuite/tests/quasiquotation/qq004/qq004.stderr b/testsuite/tests/quasiquotation/qq004/qq004.stderr
index 7cd33e1e6f..97a0bb0b1a 100644
--- a/testsuite/tests/quasiquotation/qq004/qq004.stderr
+++ b/testsuite/tests/quasiquotation/qq004/qq004.stderr
@@ -1,5 +1,5 @@
-qq004.hs:8:21:
+qq004.hs:8:21: [GHC-18157]
GHC stage restriction:
‘parse’ is used in a top-level splice, quasi-quote, or annotation,
and must be imported, not defined locally