@@ -139,7 +139,6 @@ data SimpleErrorMessage
139139 | IntOutOfRange Integer String Integer Integer
140140 | RedundantEmptyHidingImport ModuleName
141141 | ImplicitImport ModuleName [DeclarationRef]
142− | ImplicitDctorImport (ProperName 'TypeName) [ProperName 'ConstructorName]
143142 | CaseBinderLengthDiffers Int [Binder]
144143 deriving (Show)
145144
@@ -311,7 +310,6 @@ errorCode em = case unwrapErrorMessage em of
311310 IntOutOfRange{} -> "IntOutOfRange"
312311 RedundantEmptyHidingImport{} -> "RedundantEmptyHidingImport"
313312 ImplicitImport{} -> "ImplicitImport"
314− ImplicitDctorImport{} -> "ImplicitDctorImport"
315313 CaseBinderLengthDiffers{} -> "CaseBinderLengthDiffers"
316314
317315-- |
@@ -865,11 +863,6 @@ prettyPrintSingleError full level showWiki e = flip evalState defaultUnknownMap
865863 , indent $ line $ "import " ++ runModuleName mn ++ " (" ++ intercalate ", " (map prettyPrintRef refs) ++ ")"
866864 ]
867865
868− renderSimpleErrorMessage (ImplicitDctorImport ty ctors) =
869− paras [ line $ "Import of type " ++ runProperName ty ++ " has unspecified data constructors, consider using the explicit form: "
870− , indent $ line $ runProperName ty ++ " (" ++ intercalate ", " (map runProperName ctors) ++ ")"
871− ]
872−
873866 renderSimpleErrorMessage (CaseBinderLengthDiffers l bs) =
874867 paras $ [ line $ "Binder list length differs in case alternative:"
875868 , indent $ line $ intercalate ", " $ fmap prettyPrintBinderAtom bs