summaryrefslogtreecommitdiff
path: root/testsuite/tests/warnings/should_compile/T18862b.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/warnings/should_compile/T18862b.stderr')
-rw-r--r--testsuite/tests/warnings/should_compile/T18862b.stderr8
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/tests/warnings/should_compile/T18862b.stderr b/testsuite/tests/warnings/should_compile/T18862b.stderr
new file mode 100644
index 0000000000..ac959be7d8
--- /dev/null
+++ b/testsuite/tests/warnings/should_compile/T18862b.stderr
@@ -0,0 +1,8 @@
+
+T18862b.hs:7:9: warning: [-Wtype-equality-out-of-scope (in -Wcompat)]
+ • The ‘~’ operator is out of scope.
+ Assuming it to stand for an equality constraint.
+ • NB: ‘~’ used to be built-in syntax but now is a regular type operator
+ exported from Data.Type.Equality and Prelude.
+ If you are using a custom Prelude, consider re-exporting it.
+ • This will become an error in a future GHC release.