diff --git a/compiler/typecheck/TcClassDcl.hs b/compiler/typecheck/TcClassDcl.hs
index 4701197846316f3ac28eae28a8f1ba9559fa79d2..a3e9549a1c9afb4f5729b3f37b37d35e0b8255cc 100644
--- a/compiler/typecheck/TcClassDcl.hs
+++ b/compiler/typecheck/TcClassDcl.hs
@@ -521,5 +521,5 @@ warnMissingAT name
        -- Warn only if -Wmissing-methods AND not a signature
        ; warnTc (Reason Opt_WarnMissingMethods) (warn && hsc_src /= HsigFile)
                 (text "No explicit" <+> text "associated type"
-                    <+> text "or default declaration for     "
+                    <+> text "or default declaration for"
                     <+> quotes (ppr name)) }
diff --git a/testsuite/tests/deriving/should_fail/drvfail011.stderr b/testsuite/tests/deriving/should_fail/drvfail011.stderr
index 6ea42e1b08e85b5b308a19f4d40222c64c5c7bc9..e29f4e799bf9778f032bbcb0ebcf13c05cc8ffff 100644
--- a/testsuite/tests/deriving/should_fail/drvfail011.stderr
+++ b/testsuite/tests/deriving/should_fail/drvfail011.stderr
@@ -1,10 +1,10 @@
 
-drvfail011.hs:8:1:
-    No instance for (Eq a) arising from a use of ‘==’
-    Possible fix: add (Eq a) to the context of the instance declaration
-    In the expression: ((a1 == b1))
-    In an equation for ‘==’: (==) (T1 a1) (T1 b1) = ((a1 == b1))
-    When typechecking the code for  ‘==’
-      in a derived instance for ‘Eq (T a)’:
-      To see the code I am typechecking, use -ddump-deriv
-    In the instance declaration for ‘Eq (T a)’
+drvfail011.hs:8:1: error:
+    • No instance for (Eq a) arising from a use of ‘==’
+      Possible fix: add (Eq a) to the context of the instance declaration
+    • In the expression: ((a1 == b1))
+      In an equation for ‘==’: (==) (T1 a1) (T1 b1) = ((a1 == b1))
+      When typechecking the code for ‘==’
+        in a derived instance for ‘Eq (T a)’:
+        To see the code I am typechecking, use -ddump-deriv
+      In the instance declaration for ‘Eq (T a)’
diff --git a/testsuite/tests/indexed-types/should_compile/Simple2.stderr b/testsuite/tests/indexed-types/should_compile/Simple2.stderr
index 4b3b0f619aea040acb29cf1fac9726fe5412997f..c43280e79d437706822384172fc4e0358fc60426 100644
--- a/testsuite/tests/indexed-types/should_compile/Simple2.stderr
+++ b/testsuite/tests/indexed-types/should_compile/Simple2.stderr
@@ -1,6 +1,6 @@
 
 Simple2.hs:21:1: warning: [-Wmissing-methods (in -Wdefault)]
-    • No explicit associated type or default declaration for      ‘S3n’
+    • No explicit associated type or default declaration for ‘S3n’
     • In the instance declaration for ‘C3 Char’
 
 Simple2.hs:21:10: warning: [-Wmissing-methods (in -Wdefault)]
@@ -9,7 +9,7 @@ Simple2.hs:21:10: warning: [-Wmissing-methods (in -Wdefault)]
     • In the instance declaration for ‘C3 Char’
 
 Simple2.hs:29:1: warning: [-Wmissing-methods (in -Wdefault)]
-    • No explicit associated type or default declaration for      ‘S3n’
+    • No explicit associated type or default declaration for ‘S3n’
     • In the instance declaration for ‘C3 Bool’
 
 Simple2.hs:29:10: warning: [-Wmissing-methods (in -Wdefault)]
@@ -18,11 +18,11 @@ Simple2.hs:29:10: warning: [-Wmissing-methods (in -Wdefault)]
     • In the instance declaration for ‘C3 Bool’
 
 Simple2.hs:39:1: warning: [-Wmissing-methods (in -Wdefault)]
-    • No explicit associated type or default declaration for      ‘S3’
+    • No explicit associated type or default declaration for ‘S3’
     • In the instance declaration for ‘C3 Float’
 
 Simple2.hs:39:1: warning: [-Wmissing-methods (in -Wdefault)]
-    • No explicit associated type or default declaration for      ‘S3n’
+    • No explicit associated type or default declaration for ‘S3n’
     • In the instance declaration for ‘C3 Float’
 
 Simple2.hs:39:10: warning: [-Wmissing-methods (in -Wdefault)]
diff --git a/testsuite/tests/typecheck/should_compile/tc254.stderr b/testsuite/tests/typecheck/should_compile/tc254.stderr
index 663279d71a43d7cbeb8834e969fb0917c236b7d0..2d2c20decb8920345f05962a5e90ca748a700cdb 100644
--- a/testsuite/tests/typecheck/should_compile/tc254.stderr
+++ b/testsuite/tests/typecheck/should_compile/tc254.stderr
@@ -1,4 +1,4 @@
 
 tc254.hs:8:1: warning: [-Wmissing-methods (in -Wdefault)]
-    • No explicit associated type or default declaration for      ‘Typ’
+    • No explicit associated type or default declaration for ‘Typ’
     • In the instance declaration for ‘Cls Int’