diff --git a/tests/ghc-regress/rename/should_compile/rn037.stderr-ghc b/tests/ghc-regress/rename/should_compile/rn037.stderr-ghc index adb870603..8e4328712 100644 --- a/tests/ghc-regress/rename/should_compile/rn037.stderr-ghc +++ b/tests/ghc-regress/rename/should_compile/rn037.stderr-ghc @@ -1,4 +1,5 @@ rn037.hs:3:0: - Warning: Module `Time' is imported, but nothing from it is used - (except perhaps instances visible in `Time') + Warning: Module `Time' is imported, but nothing from it is used, + except perhaps instances visible in `Time' + To suppress this warning, use: import Time() diff --git a/tests/ghc-regress/rename/should_compile/rn046.stderr-ghc b/tests/ghc-regress/rename/should_compile/rn046.stderr-ghc index bf00e8f75..1e8fbe373 100644 --- a/tests/ghc-regress/rename/should_compile/rn046.stderr-ghc +++ b/tests/ghc-regress/rename/should_compile/rn046.stderr-ghc @@ -1,6 +1,7 @@ rn046.hs:2:0: - Warning: Module `List' is imported, but nothing from it is used - (except perhaps instances visible in `List') + Warning: Module `List' is imported, but nothing from it is used, + except perhaps instances visible in `List' + To suppress this warning, use: import List() rn046.hs:3:13: Warning: Imported from `Char' but not used: `ord'