diff options
author | Krzysztof Gogolewski <krzysztof.gogolewski@tweag.io> | 2022-03-30 21:11:54 +0200 |
---|---|---|
committer | Matthew Pickering <matthewtpickering@gmail.com> | 2022-04-01 11:14:08 +0100 |
commit | f8f152e7089af9a5434408e17ff071999d381ee1 (patch) | |
tree | d00356e813c0fd95dbf81b796798f35fbe46e32a /testsuite/tests/parser | |
parent | 691508d87ec089e46524461a5c6ec59b1c17be4c (diff) | |
download | haskell-f8f152e7089af9a5434408e17ff071999d381ee1.tar.gz |
Change GHC.Prim to GHC.Exts in docs and tests
Users are supposed to import GHC.Exts rather than GHC.Prim.
Part of #18749.
Diffstat (limited to 'testsuite/tests/parser')
-rw-r--r-- | testsuite/tests/parser/should_fail/T15209.hs | 2 | ||||
-rw-r--r-- | testsuite/tests/parser/should_fail/T15209.stderr | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/testsuite/tests/parser/should_fail/T15209.hs b/testsuite/tests/parser/should_fail/T15209.hs index 1679d80ba6..944b967965 100644 --- a/testsuite/tests/parser/should_fail/T15209.hs +++ b/testsuite/tests/parser/should_fail/T15209.hs @@ -1,7 +1,7 @@ {-# LANGUAGE GADTs, TypeOperators #-} module T15209 where -import GHC.Prim +import GHC.Exts foo :: a ~# Int -> () foo = () diff --git a/testsuite/tests/parser/should_fail/T15209.stderr b/testsuite/tests/parser/should_fail/T15209.stderr index fe1666c37e..23f8876d67 100644 --- a/testsuite/tests/parser/should_fail/T15209.stderr +++ b/testsuite/tests/parser/should_fail/T15209.stderr @@ -1,4 +1,6 @@ T15209.hs:6:10: error: Not in scope: type constructor or class ‘~#’ - Suggested fix: Perhaps use ‘~’ (imported from Prelude) + Suggested fix: + Perhaps use one of these: + ‘~’ (imported from GHC.Exts), ‘~~’ (imported from GHC.Exts) |