summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/T17213.stderr
blob: ec2078d7badc8cbecb3b24577926c61889e6ab66 (plain)
1
2
3
4
5
6

T17213.hs:6:1: error: [GHC-91510]
    • Illegal polymorphic type: forall a. a -> a
    • When checking the inferred type
        g :: (forall a. a -> a) -> Int
    Suggested fix: Perhaps you intended to use RankNTypes