summaryrefslogtreecommitdiff
path: root/testsuite/tests/linear/should_fail/LinearPartialSig.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/linear/should_fail/LinearPartialSig.stderr')
-rw-r--r--testsuite/tests/linear/should_fail/LinearPartialSig.stderr7
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/tests/linear/should_fail/LinearPartialSig.stderr b/testsuite/tests/linear/should_fail/LinearPartialSig.stderr
new file mode 100644
index 0000000000..4d25260bf2
--- /dev/null
+++ b/testsuite/tests/linear/should_fail/LinearPartialSig.stderr
@@ -0,0 +1,7 @@
+
+LinearPartialSig.hs:5:13: error:
+ • Found type wildcard ‘_’
+ standing for ‘'Many :: GHC.Types.Multiplicity’
+ To use the inferred type, enable PartialTypeSignatures
+ • In the type ‘a # _ -> a’
+ In the type signature: f :: a # _ -> a