diff options
Diffstat (limited to 'testsuite/tests/typecheck/should_compile/T4912.stderr')
-rw-r--r-- | testsuite/tests/typecheck/should_compile/T4912.stderr | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/testsuite/tests/typecheck/should_compile/T4912.stderr b/testsuite/tests/typecheck/should_compile/T4912.stderr index 104275cdda..891ca527d8 100644 --- a/testsuite/tests/typecheck/should_compile/T4912.stderr +++ b/testsuite/tests/typecheck/should_compile/T4912.stderr @@ -1,12 +1,12 @@ T4912.hs:10:1: warning: [-Worphans (in -Wall)] Orphan instance: instance Foo TheirData - To avoid this - move the instance declaration to the module of the class or of the type, or + Suggested fix: + 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. T4912.hs:13:1: warning: [-Worphans (in -Wall)] Orphan instance: instance Bar OurData - To avoid this - move the instance declaration to the module of the class or of the type, or + Suggested fix: + 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. |