diff options
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/T14605.stderr')
-rw-r--r-- | testsuite/tests/typecheck/should_fail/T14605.stderr | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_fail/T14605.stderr b/testsuite/tests/typecheck/should_fail/T14605.stderr new file mode 100644 index 0000000000..09181c6ee8 --- /dev/null +++ b/testsuite/tests/typecheck/should_fail/T14605.stderr @@ -0,0 +1,10 @@ + +T14605.hs:14:13: error: + • Couldn't match representation of type ‘x1’ with that of ‘()’ + arising from a use of ‘coerce’ + ‘x1’ is a rigid type variable bound by + the type () + at T14605.hs:14:1-49 + • In the expression: coerce @(forall x. ()) @(forall x. x) + In an equation for ‘duplicate’: + duplicate = coerce @(forall x. ()) @(forall x. x) |