diff options
author | Jeff Happily <goodboy96@live.com.my> | 2020-05-09 13:54:46 +0800 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2020-05-13 20:08:15 -0400 |
commit | 404581eaa3bf8d3f100da7610a6a38158bea17c4 (patch) | |
tree | dc5564e70a77e341c6e9d6f664f351ccde4515ca /testsuite/tests/rename | |
parent | a951e1bab3dfd3e9de31b0d8bf5699a9216b181d (diff) | |
download | haskell-404581eaa3bf8d3f100da7610a6a38158bea17c4.tar.gz |
Handle single unused import
Diffstat (limited to 'testsuite/tests/rename')
4 files changed, 4 insertions, 4 deletions
diff --git a/testsuite/tests/rename/should_compile/T13064.stderr b/testsuite/tests/rename/should_compile/T13064.stderr index 3175a8563f..a94e5b70d5 100644 --- a/testsuite/tests/rename/should_compile/T13064.stderr +++ b/testsuite/tests/rename/should_compile/T13064.stderr @@ -1,3 +1,3 @@ -T13064.hs:5:1: warning: [-Wunused-imports (in -Wextra)] +T13064.hs:5:21: warning: [-Wunused-imports (in -Wextra)] The import of ‘pure’ from module ‘Prelude’ is redundant diff --git a/testsuite/tests/rename/should_compile/rn046.stderr b/testsuite/tests/rename/should_compile/rn046.stderr index 458feae39f..e1947d914d 100644 --- a/testsuite/tests/rename/should_compile/rn046.stderr +++ b/testsuite/tests/rename/should_compile/rn046.stderr @@ -4,5 +4,5 @@ rn046.hs:2:1: warning: [-Wunused-imports (in -Wextra)] except perhaps to import instances from ‘Data.List’ To import instances alone, use: import Data.List() -rn046.hs:3:1: warning: [-Wunused-imports (in -Wextra)] +rn046.hs:3:19: warning: [-Wunused-imports (in -Wextra)] The import of ‘ord’ from module ‘Data.Char’ is redundant diff --git a/testsuite/tests/rename/should_fail/T7454.stderr b/testsuite/tests/rename/should_fail/T7454.stderr index 8baef5d139..ba9666cf35 100644 --- a/testsuite/tests/rename/should_fail/T7454.stderr +++ b/testsuite/tests/rename/should_fail/T7454.stderr @@ -1,3 +1,3 @@ -T7454.hs:5:1: warning: [-Wunused-imports (in -Wextra)] +T7454.hs:5:23: warning: [-Wunused-imports (in -Wextra)] The import of ‘Arrow’ from module ‘Control.Arrow’ is redundant diff --git a/testsuite/tests/rename/should_fail/T8149.stderr b/testsuite/tests/rename/should_fail/T8149.stderr index 3cef09b317..33b45e9598 100644 --- a/testsuite/tests/rename/should_fail/T8149.stderr +++ b/testsuite/tests/rename/should_fail/T8149.stderr @@ -1,4 +1,4 @@ -T8149.hs:5:1: warning: [-Wunused-imports (in -Wextra)] +T8149.hs:5:36: warning: [-Wunused-imports (in -Wextra)] The import of ‘WriterT’ from module ‘Control.Monad.Trans.Writer’ is redundant |