summaryrefslogtreecommitdiff
path: root/testsuite/tests/deriving/should_fail/T14365.stderr
blob: a166953cf5ef5fbb1d27f2475fd7b0546714363d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[1 of 3] Compiling T14365B[boot]    ( T14365B.hs-boot, T14365B.o-boot )

T14365B.hs-boot:5:13: error:
    • Can't make a derived instance of ‘Functor Foo’:
        Cannot derive instances in hs-boot files
        Write an instance declaration instead
    • In the data declaration for ‘Foo’

T14365B.hs-boot:7:1: error:
    • Can't make a derived instance of ‘Foldable Foo’:
        Cannot derive instances in hs-boot files
        Write an instance declaration instead
    • In the stand-alone deriving instance for ‘Foldable Foo’
[3 of 3] Compiling T14365B          ( T14365B.hs, T14365B.o )