diff --git a/Cabal-syntax/src/Distribution/PackageDescription/Parsec.hs b/Cabal-syntax/src/Distribution/PackageDescription/Parsec.hs index bee6965c127..fd5b5cd19a2 100644 --- a/Cabal-syntax/src/Distribution/PackageDescription/Parsec.hs +++ b/Cabal-syntax/src/Distribution/PackageDescription/Parsec.hs @@ -240,7 +240,7 @@ goSections specVer = traverse_ process process (Field (Name pos name) _) = lift $ parseWarning pos PWTTrailingFields $ - "Ignoring trailing fields after sections: " ++ show name + "Ignoring trailing fields after sections: " ++ show name ++ ". Consider moving these fields before any stanzas in your cabal file." process (Section name args secFields) = parseSection name args secFields