From eeea0343f1bd5e3359c32c10fffb2a300c4924ba Mon Sep 17 00:00:00 2001 From: Torsten Schmits Date: Wed, 15 Mar 2023 17:26:59 +0100 Subject: 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`. --- testsuite/tests/quasiquotation/qq001/qq001.stderr | 2 +- testsuite/tests/quasiquotation/qq002/qq002.stderr | 2 +- testsuite/tests/quasiquotation/qq003/qq003.stderr | 2 +- testsuite/tests/quasiquotation/qq004/qq004.stderr | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'testsuite/tests/quasiquotation') 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 -- cgit v1.2.1