diff options
author | Herbert Valerio Riedel <hvr@gnu.org> | 2016-02-27 17:34:14 +0100 |
---|---|---|
committer | Herbert Valerio Riedel <hvr@gnu.org> | 2016-02-27 17:34:14 +0100 |
commit | 869d9c62d8329022f9f5504a92d2d74efec4f2e8 (patch) | |
tree | d0a0f668c423ffff8a5c92235052c5bc565428f3 /testsuite/tests/ghci/should_run | |
parent | b9c697eefd34fcba3ab9c1f831baf7f651ad7503 (diff) | |
download | haskell-869d9c62d8329022f9f5504a92d2d74efec4f2e8.tar.gz |
Print which flag controls emitted lexer warnings
This is extends bb5afd3c274011c5ea302210b4c290ec1f83209c to cover
warnings emitted during lexing.
This implements another part of #10752
Diffstat (limited to 'testsuite/tests/ghci/should_run')
-rw-r--r-- | testsuite/tests/ghci/should_run/T7253.stderr | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/testsuite/tests/ghci/should_run/T7253.stderr b/testsuite/tests/ghci/should_run/T7253.stderr index a96d27803f..f7dedda51b 100644 --- a/testsuite/tests/ghci/should_run/T7253.stderr +++ b/testsuite/tests/ghci/should_run/T7253.stderr @@ -1,7 +1,8 @@ -<interactive>:19:1: warning: Unrecognised pragma +<interactive>:19:1: warning: [-Wunrecognised-pragmas (in -Wdefault)] + Unrecognised pragma -<interactive>:62:1: - Role mismatch on variable b: - Annotation says phantom but role representational is required - while checking a role annotation for ‘T1’ +<interactive>:62:1: error: + • Role mismatch on variable b: + Annotation says phantom but role representational is required + • while checking a role annotation for ‘T1’ |