diff options
author | Simon Peyton Jones <simonpj@microsoft.com> | 2016-06-22 14:10:53 +0100 |
---|---|---|
committer | Simon Peyton Jones <simonpj@microsoft.com> | 2016-06-22 22:21:14 +0100 |
commit | cc92a446d6932cf06364529e71c866289088c59a (patch) | |
tree | 7392a73760d7264ac9a2a12031683b97a0146501 /testsuite/tests/typecheck/should_fail/tcfail086.stderr | |
parent | 7e7aeab21c1afa7251e0879c78bbc42040a1936a (diff) | |
download | haskell-cc92a446d6932cf06364529e71c866289088c59a.tar.gz |
Improve error message in deriving( Functor )
Fixes Trac #12163. Pretty simple.
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/tcfail086.stderr')
-rw-r--r-- | testsuite/tests/typecheck/should_fail/tcfail086.stderr | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/testsuite/tests/typecheck/should_fail/tcfail086.stderr b/testsuite/tests/typecheck/should_fail/tcfail086.stderr index f88fde164b..0ea0b71c41 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail086.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail086.stderr @@ -1,6 +1,6 @@ -tcfail086.hs:6:38: - Can't make a derived instance of ‘Eq Ex’: - Constructor ‘Ex’ has existentials or constraints in its type - Possible fix: use a standalone deriving declaration instead - In the data declaration for ‘Ex’ +tcfail086.hs:6:38: error: + • Can't make a derived instance of ‘Eq Ex’: + Constructor ‘Ex’ has existential type variables in its type + Possible fix: use a standalone deriving declaration instead + • In the data declaration for ‘Ex’ |