summaryrefslogtreecommitdiff
path: root/testsuite/tests/annotations/should_fail/annfail06.stderr
blob: aec329d5fa2a1e149e587bbe3049e12955a90f6b (plain)
1
2
3
4
5
6
7
8

annfail06.hs:21:1:
    GHC stage restriction:
      instance for ‛Data
                      InstancesInWrongModule’ is used in a top-level splice or annotation,
      and must be imported, not defined locally
    In the expression: InstancesInWrongModule
    In the annotation: {-# ANN f InstancesInWrongModule #-}