summaryrefslogtreecommitdiff
path: root/testsuite/tests/safeHaskell/flags
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/safeHaskell/flags')
-rw-r--r--testsuite/tests/safeHaskell/flags/SafeFlags03.stderr3
-rw-r--r--testsuite/tests/safeHaskell/flags/SafeFlags04.stderr3
-rw-r--r--testsuite/tests/safeHaskell/flags/SafeFlags07.stderr3
-rw-r--r--testsuite/tests/safeHaskell/flags/SafeFlags08.stderr3
-rw-r--r--testsuite/tests/safeHaskell/flags/SafeFlags09.stderr3
-rw-r--r--testsuite/tests/safeHaskell/flags/SafeFlags17.stderr4
-rw-r--r--testsuite/tests/safeHaskell/flags/SafeFlags19.stderr2
-rw-r--r--testsuite/tests/safeHaskell/flags/SafeFlags22.stderr2
-rw-r--r--testsuite/tests/safeHaskell/flags/SafeFlags23.stderr4
-rw-r--r--testsuite/tests/safeHaskell/flags/SafeFlags25.stderr2
-rw-r--r--testsuite/tests/safeHaskell/flags/SafeFlags26.stderr2
-rw-r--r--testsuite/tests/safeHaskell/flags/SafeFlags28.stderr8
-rw-r--r--testsuite/tests/safeHaskell/flags/SafeFlags29.stderr8
13 files changed, 26 insertions, 21 deletions
diff --git a/testsuite/tests/safeHaskell/flags/SafeFlags03.stderr b/testsuite/tests/safeHaskell/flags/SafeFlags03.stderr
index 0ca3951efa..fa837fa107 100644
--- a/testsuite/tests/safeHaskell/flags/SafeFlags03.stderr
+++ b/testsuite/tests/safeHaskell/flags/SafeFlags03.stderr
@@ -1,2 +1,3 @@
-SafeFlags03.hs:1:14: Unsupported extension: SafeImport
+SafeFlags03.hs:1:14: error: [GHC-46537]
+ Unsupported extension: SafeImport
diff --git a/testsuite/tests/safeHaskell/flags/SafeFlags04.stderr b/testsuite/tests/safeHaskell/flags/SafeFlags04.stderr
index 2a550f25a1..7b94f9df3e 100644
--- a/testsuite/tests/safeHaskell/flags/SafeFlags04.stderr
+++ b/testsuite/tests/safeHaskell/flags/SafeFlags04.stderr
@@ -1,2 +1,3 @@
-SafeFlags04.hs:1:14: Unsupported extension: SafeLanguage
+SafeFlags04.hs:1:14: error: [GHC-46537]
+ Unsupported extension: SafeLanguage
diff --git a/testsuite/tests/safeHaskell/flags/SafeFlags07.stderr b/testsuite/tests/safeHaskell/flags/SafeFlags07.stderr
index 3c3317f20c..2310743115 100644
--- a/testsuite/tests/safeHaskell/flags/SafeFlags07.stderr
+++ b/testsuite/tests/safeHaskell/flags/SafeFlags07.stderr
@@ -1,2 +1,3 @@
-SafeFlags07.hs:1:14: Unsupported extension: SafeLanguage
+SafeFlags07.hs:1:14: error: [GHC-46537]
+ Unsupported extension: SafeLanguage
diff --git a/testsuite/tests/safeHaskell/flags/SafeFlags08.stderr b/testsuite/tests/safeHaskell/flags/SafeFlags08.stderr
index e72e6e459f..4d179b1269 100644
--- a/testsuite/tests/safeHaskell/flags/SafeFlags08.stderr
+++ b/testsuite/tests/safeHaskell/flags/SafeFlags08.stderr
@@ -1,2 +1,3 @@
-SafeFlags08.hs:1:14: Unsupported extension: SafeLanguage
+SafeFlags08.hs:1:14: error: [GHC-46537]
+ Unsupported extension: SafeLanguage
diff --git a/testsuite/tests/safeHaskell/flags/SafeFlags09.stderr b/testsuite/tests/safeHaskell/flags/SafeFlags09.stderr
index 2bc5aed21c..d7554da817 100644
--- a/testsuite/tests/safeHaskell/flags/SafeFlags09.stderr
+++ b/testsuite/tests/safeHaskell/flags/SafeFlags09.stderr
@@ -1,2 +1,3 @@
-SafeFlags09.hs:1:14: Unsupported extension: SafeLanguage
+SafeFlags09.hs:1:14: error: [GHC-46537]
+ Unsupported extension: SafeLanguage
diff --git a/testsuite/tests/safeHaskell/flags/SafeFlags17.stderr b/testsuite/tests/safeHaskell/flags/SafeFlags17.stderr
index 4ce52ce072..f8a7377058 100644
--- a/testsuite/tests/safeHaskell/flags/SafeFlags17.stderr
+++ b/testsuite/tests/safeHaskell/flags/SafeFlags17.stderr
@@ -1,4 +1,4 @@
-SafeFlags17.hs:5:8: error:
+SafeFlags17.hs:5:8: error: [GHC-75165]
Prelude: Can't be safely imported!
- The package (base-4.16.0.0) the module resides in isn't trusted.
+ The package (base-4.17.0.0) the module resides in isn't trusted.
diff --git a/testsuite/tests/safeHaskell/flags/SafeFlags19.stderr b/testsuite/tests/safeHaskell/flags/SafeFlags19.stderr
index 438cd98629..435d6adb9b 100644
--- a/testsuite/tests/safeHaskell/flags/SafeFlags19.stderr
+++ b/testsuite/tests/safeHaskell/flags/SafeFlags19.stderr
@@ -1,3 +1,3 @@
-SafeFlags19.hs:1:17:
+SafeFlags19.hs:1:17: error: [GHC-04924]
Unknown flag in {-# OPTIONS_GHC #-} pragma: -fno-package-trust
diff --git a/testsuite/tests/safeHaskell/flags/SafeFlags22.stderr b/testsuite/tests/safeHaskell/flags/SafeFlags22.stderr
index cc4d8b7ae1..75547c110a 100644
--- a/testsuite/tests/safeHaskell/flags/SafeFlags22.stderr
+++ b/testsuite/tests/safeHaskell/flags/SafeFlags22.stderr
@@ -2,6 +2,6 @@
SafeFlags22.hs:2:17: warning: [-Wunsafe]
‘SafeFlags22’ has been inferred as unsafe!
Reason:
- SafeFlags22.hs:8:1: error:
+ SafeFlags22.hs:8:1: error: [GHC-44360]
System.IO.Unsafe: Can't be safely imported!
The module itself isn't safe.
diff --git a/testsuite/tests/safeHaskell/flags/SafeFlags23.stderr b/testsuite/tests/safeHaskell/flags/SafeFlags23.stderr
index 3bb3d3b02a..28fba4657a 100644
--- a/testsuite/tests/safeHaskell/flags/SafeFlags23.stderr
+++ b/testsuite/tests/safeHaskell/flags/SafeFlags23.stderr
@@ -1,7 +1,7 @@
-SafeFlags23.hs:2:17: error: [-Wunsafe, -Werror=unsafe]
+SafeFlags23.hs:2:17: error: [-Wunsafe, Werror=unsafe]
‘SafeFlags22’ has been inferred as unsafe!
Reason:
- SafeFlags23.hs:8:1: error:
+ SafeFlags23.hs:8:1: error: [GHC-44360]
System.IO.Unsafe: Can't be safely imported!
The module itself isn't safe.
diff --git a/testsuite/tests/safeHaskell/flags/SafeFlags25.stderr b/testsuite/tests/safeHaskell/flags/SafeFlags25.stderr
index 57bcdaa192..ba53b5cd03 100644
--- a/testsuite/tests/safeHaskell/flags/SafeFlags25.stderr
+++ b/testsuite/tests/safeHaskell/flags/SafeFlags25.stderr
@@ -1,3 +1,3 @@
-SafeFlags25.hs:2:17: warning: [-Wsafe]
+SafeFlags25.hs:2:17: warning: [GHC-58656] [-Wsafe]
‘SafeFlags25’ has been inferred as safe!
diff --git a/testsuite/tests/safeHaskell/flags/SafeFlags26.stderr b/testsuite/tests/safeHaskell/flags/SafeFlags26.stderr
index f4b084a9a5..c687be2a56 100644
--- a/testsuite/tests/safeHaskell/flags/SafeFlags26.stderr
+++ b/testsuite/tests/safeHaskell/flags/SafeFlags26.stderr
@@ -1,3 +1,3 @@
-SafeFlags26.hs:2:17: error: [-Wsafe, -Werror=safe]
+SafeFlags26.hs:2:17: error: [GHC-58656] [-Wsafe, Werror=safe]
‘SafeFlags26’ has been inferred as safe!
diff --git a/testsuite/tests/safeHaskell/flags/SafeFlags28.stderr b/testsuite/tests/safeHaskell/flags/SafeFlags28.stderr
index efc47ee4ce..96d2c2062d 100644
--- a/testsuite/tests/safeHaskell/flags/SafeFlags28.stderr
+++ b/testsuite/tests/safeHaskell/flags/SafeFlags28.stderr
@@ -1,12 +1,12 @@
-SafeFlags28.hs:1:17: error:
+SafeFlags28.hs:1:17: error: [GHC-04924]
Unknown flag in {-# OPTIONS_GHC #-} pragma: -trust
-SafeFlags28.hs:1:24: error:
+SafeFlags28.hs:1:24: error: [GHC-04924]
Unknown flag in {-# OPTIONS_GHC #-} pragma: base,
-SafeFlags28.hs:1:30: error:
+SafeFlags28.hs:1:30: error: [GHC-04924]
Unknown flag in {-# OPTIONS_GHC #-} pragma: -trust
-SafeFlags28.hs:1:37: error:
+SafeFlags28.hs:1:37: error: [GHC-04924]
Unknown flag in {-# OPTIONS_GHC #-} pragma: bytestring
diff --git a/testsuite/tests/safeHaskell/flags/SafeFlags29.stderr b/testsuite/tests/safeHaskell/flags/SafeFlags29.stderr
index a98ac6cf77..fea369aef5 100644
--- a/testsuite/tests/safeHaskell/flags/SafeFlags29.stderr
+++ b/testsuite/tests/safeHaskell/flags/SafeFlags29.stderr
@@ -1,12 +1,12 @@
-SafeFlags29.hs:2:17: error:
+SafeFlags29.hs:2:17: error: [GHC-04924]
Unknown flag in {-# OPTIONS_GHC #-} pragma: -trust
-SafeFlags29.hs:2:24: error:
+SafeFlags29.hs:2:24: error: [GHC-04924]
Unknown flag in {-# OPTIONS_GHC #-} pragma: base
-SafeFlags29.hs:2:29: error:
+SafeFlags29.hs:2:29: error: [GHC-04924]
Unknown flag in {-# OPTIONS_GHC #-} pragma: -trust
-SafeFlags29.hs:2:36: error:
+SafeFlags29.hs:2:36: error: [GHC-04924]
Unknown flag in {-# OPTIONS_GHC #-} pragma: bytestring