summaryrefslogtreecommitdiff
path: root/testsuite/tests/deriving/should_fail/T4528.stderr
blob: 8f008e8908d19a5561f364e1ae2c7d4e8cc54020 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14

T4528.hs:9:1:
    Can't make a derived instance of `Enum (Foo a)':
      `Foo' must be an enumeration type
      (an enumeration consists of one or more nullary, non-GADT constructors)
    In the stand-alone deriving instance for `Enum (Foo a)'

T4528.hs:10:1:
    Can't make a derived instance of `Bounded (Foo a)':
      `Foo' must be an enumeration type
      (an enumeration consists of one or more nullary, non-GADT constructors)
        or
      `Foo' must have precisely one constructor
    In the stand-alone deriving instance for `Bounded (Foo a)'