diff options
-rw-r--r-- | compiler/typecheck/TcAnnotations.hs | 2 | ||||
-rw-r--r-- | testsuite/tests/stage1/T13609.stderr | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/compiler/typecheck/TcAnnotations.hs b/compiler/typecheck/TcAnnotations.hs index 43d2970ded..bdf6646b1a 100644 --- a/compiler/typecheck/TcAnnotations.hs +++ b/compiler/typecheck/TcAnnotations.hs @@ -37,7 +37,7 @@ warnAnns :: [LAnnDecl Name] -> TcM [Annotation] warnAnns [] = return [] warnAnns anns@(L loc _ : _) = do { setSrcSpan loc $ addWarnTc NoReason $ - (text "Ignoring Ann annotation" <> plural anns <> comma + (text "Ignoring ANN annotation" <> plural anns <> comma <+> text "because this is a stage-1 compiler without -fexternal-interpreter or doesn't support GHCi") ; return [] } #else diff --git a/testsuite/tests/stage1/T13609.stderr b/testsuite/tests/stage1/T13609.stderr index 0a3c1cdae6..579f3e5319 100644 --- a/testsuite/tests/stage1/T13609.stderr +++ b/testsuite/tests/stage1/T13609.stderr @@ -1,3 +1,3 @@ T13609.hs:3:1: warning: - Ignoring Ann annotation, because this is a stage-1 compiler without -fexternal-interpreter or doesn't support GHCi + Ignoring ANN annotation, because this is a stage-1 compiler without -fexternal-interpreter or doesn't support GHCi |