summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-regress/annotations/should_fail/annfail06.stderr
blob: c5082c386ea0b6199a06741116759f03a886e348 (plain)
1
2
3
4
5
6
7

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 #-}