Skip to content
Snippets Groups Projects
sheaf's avatar
sheaf authored
This is a tiny refactoring which:

  - removes GhcHint/ImportError fields from some constructors of
    TcRnMessage, using the TcRnMessageDetailed mechanism instead to
    report this informaiton:
      - removes the GhcHint and ImportErrors fields from TcRnNotInScope
      - removes the GhcHint field from TcRnTermNameInType
  - ensures that we only include these hints and import errors when the
    -fhelpful-errors flag is turned on

Fixes #25874
2fdd0be9
History