don't suggest Rank2Types in error messages (Fixed #16000)
authorchessai <chessai1996@gmail.com>
Wed, 19 Dec 2018 18:16:49 +0000 (19:16 +0100)
committerKrzysztof Gogolewski <krz.gogolewski@gmail.com>
Wed, 19 Dec 2018 19:57:06 +0000 (20:57 +0100)
commitde50f8fd432f88d26a08b07c7bf08c5bff25472e
treeab7df5885728e2336795fecf90db671dc90c4a9e
parent68d6a71646de52096ebc196320332a2d98daeb47
don't suggest Rank2Types in error messages (Fixed #16000)

Summary: Rank2Types is deprecated. Don't suggest to users to use it.

Reviewers: bgamari, RyanGlScott, simonpj

Reviewed By: RyanGlScott, simonpj

Subscribers: RyanGlScott, rwbarton, carter

GHC Trac Issues: #16000

Differential Revision: https://phabricator.haskell.org/D5447
compiler/typecheck/TcValidity.hs
testsuite/tests/indexed-types/should_fail/SimpleFail15.stderr
testsuite/tests/typecheck/should_fail/T12083a.stderr
testsuite/tests/typecheck/should_fail/T12083b.stderr
testsuite/tests/typecheck/should_fail/T2538.stderr
testsuite/tests/typecheck/should_fail/T5957.stderr
testsuite/tests/typecheck/should_fail/tcfail184.stderr