summaryrefslogtreecommitdiff
path: root/testsuite/tests/deriving/should_fail/T14365.stderr
blob: f8f106fea8be0b20115cf7b7520a4de20f90779b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
[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’