summaryrefslogtreecommitdiff
path: root/testsuite/tests/pmcheck/should_compile/pmc007.stderr
diff options
context:
space:
mode:
authorHerbert Valerio Riedel <hvr@gnu.org>2016-02-27 13:50:10 +0100
committerHerbert Valerio Riedel <hvr@gnu.org>2016-02-27 16:35:45 +0100
commitb9c697eefd34fcba3ab9c1f831baf7f651ad7503 (patch)
tree73dd59a223adc3f855da6613c0a99ed2e1fb6f77 /testsuite/tests/pmcheck/should_compile/pmc007.stderr
parent3ee4fc04322dacb66c70262a220dce0f52c29d4f (diff)
downloadhaskell-b9c697eefd34fcba3ab9c1f831baf7f651ad7503.tar.gz
Print which flag controls emitted desugaring warnings
This is extends bb5afd3c274011c5ea302210b4c290ec1f83209c to cover warnings emitted during the desugaring phase. This implements another part of #10752 Reviewed-by: quchen, bgamari Differential Revision: https://phabricator.haskell.org/D1954
Diffstat (limited to 'testsuite/tests/pmcheck/should_compile/pmc007.stderr')
-rw-r--r--testsuite/tests/pmcheck/should_compile/pmc007.stderr7
1 files changed, 4 insertions, 3 deletions
diff --git a/testsuite/tests/pmcheck/should_compile/pmc007.stderr b/testsuite/tests/pmcheck/should_compile/pmc007.stderr
index 291fbdcde2..f6e4ece88c 100644
--- a/testsuite/tests/pmcheck/should_compile/pmc007.stderr
+++ b/testsuite/tests/pmcheck/should_compile/pmc007.stderr
@@ -1,9 +1,10 @@
-pmc007.hs:7:1: warning:
+
+pmc007.hs:7:1: warning: [-Wincomplete-patterns (in -Wextra)]
Pattern match(es) are non-exhaustive
In an equation for ā€˜fā€™:
Patterns not matched: p where p is not one of {"ac", "ab"}
-pmc007.hs:12:1: warning:
+pmc007.hs:12:1: warning: [-Wincomplete-patterns (in -Wextra)]
Pattern match(es) are non-exhaustive
In an equation for ā€˜gā€™:
Patterns not matched:
@@ -13,7 +14,7 @@ pmc007.hs:12:1: warning:
('a':p:_) where p is not one of {'c', 'b'}
...
-pmc007.hs:18:11: warning:
+pmc007.hs:18:11: warning: [-Wincomplete-patterns (in -Wextra)]
Pattern match(es) are non-exhaustive
In a case alternative:
Patterns not matched: