Improve suggestions for language extensions
- Suggested fix: Perhaps you intended to use TypeSynonymInstances
+ Suggested fix:
+ Perhaps you intended to use the ‘TypeSynonymInstances’ extension (implied by ‘FlexibleInstances’)
Additionally it moves a few warning specific definitions from Session.hs
into Flags.hs
which is neccessary for this patch.
Fixes #24477