diff --git a/ghc/tests/rename/should_fail/rnfail017.stderr b/ghc/tests/rename/should_fail/rnfail017.stderr
index 6ae37a5ed52a2b226c251f2ca785d536da8b59cb..665afc9a08d1a976c77fa0a9f6503276c534874e 100644
--- a/ghc/tests/rename/should_fail/rnfail017.stderr
+++ b/ghc/tests/rename/should_fail/rnfail017.stderr
@@ -1,11 +1,11 @@
 
 rnfail017.hs:5:
     precedence parsing error
-	cannot mix `+' (infixl 6) and `negate' (infixl 6) in the same infix expression
+	cannot mix `+' [infixl 6] and prefix `-' [infixl 6] in the same infix expression
 
 rnfail017.hs:6:
     precedence parsing error
-	cannot mix `*' (infixl 7) and `negate' (infixl 6) in the same infix expression
+	cannot mix `*' [infixl 7] and prefix `-' [infixl 6] in the same infix expression
 
 Compilation had errors