Commit 9a62ecfa authored by Alfredo Di Napoli's avatar Alfredo Di Napoli Committed by Marge Bot

Remove errShortString, cleanup error-related functions

This commit removes the errShortString field from the ErrMsg type,
allowing us to cleanup a lot of dynflag-dependent error functions, and
move them in a more specialised 'GHC.Driver.Errors' closer to the
driver, where they are actually used.

Metric Increase:
  T4801
  T9961
parent bd877edd
Pipeline #29702 failed with stages
in 356 minutes and 23 seconds