Print which flag controls emitted SafeHaskell warnings
authorHerbert Valerio Riedel <hvr@gnu.org>
Sat, 27 Feb 2016 17:48:04 +0000 (18:48 +0100)
committerHerbert Valerio Riedel <hvr@gnu.org>
Sat, 27 Feb 2016 17:48:04 +0000 (18:48 +0100)
commitb6c61e372a1a783b32f1bbd1ceb446e89478a138
tree3af052ff05beba0e07d185232ca22aab28940878
parent82f200b74ac1ea8c5593e2909c0033eb251eeaf2
Print which flag controls emitted SafeHaskell warnings

This is extends bb5afd3c274011c5ea302210b4c290ec1f83209c to cover
SafeHaskell warnings.

This implements yet another part of #10752
20 files changed:
compiler/main/HscMain.hs
testsuite/tests/safeHaskell/flags/SafeFlags22.stderr
testsuite/tests/safeHaskell/flags/SafeFlags23.stderr
testsuite/tests/safeHaskell/flags/SafeFlags25.stderr
testsuite/tests/safeHaskell/flags/SafeFlags26.stderr
testsuite/tests/safeHaskell/overlapping/SH_Overlap11.stderr
testsuite/tests/safeHaskell/overlapping/SH_Overlap7.stderr
testsuite/tests/safeHaskell/safeInfered/SafeInfered05.stderr
testsuite/tests/safeHaskell/safeInfered/SafeWarn01.stderr
testsuite/tests/safeHaskell/safeInfered/TrustworthySafe02.stderr
testsuite/tests/safeHaskell/safeInfered/TrustworthySafe03.stderr
testsuite/tests/safeHaskell/safeInfered/UnsafeInfered11.stderr
testsuite/tests/safeHaskell/safeInfered/UnsafeInfered12.stderr
testsuite/tests/safeHaskell/safeInfered/UnsafeWarn01.stderr
testsuite/tests/safeHaskell/safeInfered/UnsafeWarn02.stderr
testsuite/tests/safeHaskell/safeInfered/UnsafeWarn03.stderr
testsuite/tests/safeHaskell/safeInfered/UnsafeWarn04.stderr
testsuite/tests/safeHaskell/safeInfered/UnsafeWarn05.stderr
testsuite/tests/safeHaskell/safeInfered/UnsafeWarn06.stderr
testsuite/tests/safeHaskell/safeInfered/UnsafeWarn07.stderr