Print which warning-flag controls an emitted warning
[ghc.git] / testsuite / tests / warnings / should_compile / PluralS.stderr
index 1c975ab..a06ab5e 100644 (file)
@@ -1,12 +1,12 @@
 
-PluralS.hs:15:17: warning:
+PluralS.hs:15:17: warning: [-Wtype-defaults (in -Wall)]
     • Defaulting the following constraint to type ‘Integer’
         Num t0 arising from the literal ‘123’
     • In the first argument of ‘seq’, namely ‘123’
       In the expression: 123 `seq` ()
       In an equation for ‘defaultingNum’: defaultingNum = 123 `seq` ()
 
-PluralS.hs:17:29: warning:
+PluralS.hs:17:29: warning: [-Wtype-defaults (in -Wall)]
     • Defaulting the following constraints to type ‘Integer’
         (Num a0) arising from the literal ‘123’ at PluralS.hs:17:29-31
         (Show a0) arising from a use of ‘show’ at PluralS.hs:17:24-31