summaryrefslogtreecommitdiff
path: root/testsuite/tests/indexed-types/should_fail/SimpleFail15.stderr
blob: e2b7bba314505a2d91416ee2daf6df0a992ced21 (plain)
1
2
3
4
5
6

SimpleFail15.hs:5:8:
    Illegal polymorphic or qualified type: a ~ b => t
    Perhaps you intended to use -XRankNTypes or -XRank2Types
    In the type signature for `foo':
      foo :: (a, b) -> (a ~ b => t) -> (a, b)