Unquote ‘import’ in bad import error message
authorPhil Ruffwind <rf@rufflewind.com>
Tue, 17 Jan 2017 20:55:28 +0000 (15:55 -0500)
committerBen Gamari <ben@smart-cactus.org>
Tue, 17 Jan 2017 20:56:28 +0000 (15:56 -0500)
commite195add1f203a0e169a2ea6e58be8d7989e9e0a4
tree708823a27800823acdc57875f0c9ec9cd3e46fa0
parentd5cd505bc484edee3dbd5d41fb7a27c2e18d528d
Unquote ‘import’ in bad import error message

    In module ‘Prelude’:
      ‘True’ is a data constructor of ‘Bool’
    To import it use
      ‘import’ Prelude( Bool( True ) )

The quotes around `import` don't make any sense.

Test Plan: manual

Reviewers: austin, mpickering, bgamari

Reviewed By: mpickering, bgamari

Subscribers: dfeuer, thomie

Differential Revision: https://phabricator.haskell.org/D2935
compiler/rename/RnNames.hs
testsuite/tests/module/mod90.stderr
testsuite/tests/rename/should_fail/T10668.stderr
testsuite/tests/rename/should_fail/T5385.stderr