summaryrefslogtreecommitdiff
path: root/testsuite/tests/warnings/should_compile/T9178.stderr
blob: 6edcbff5ec3fdac57afb28e671af18a2629cca18 (plain)
1
2
3
4
5
6
7
8
[1 of 2] Compiling T9178DataType    ( T9178DataType.hs, T9178DataType.o )
[2 of 2] Compiling T9178            ( T9178.hs, T9178.o )

T9178.hs:8:1: warning: [-Worphans (in -Wall)]
    Orphan instance: instance Show T9178_Type
    To avoid this
        move the instance declaration to the module of the class or of the type, or
        wrap the type with a newtype and declare the instance on the new type.