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

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