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

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