Unfortunately, this patch doesn't validate due to a lint error when
running Haddock on the fake "documentation" module for GHC.Prim.
Signed-off-by: Edward Z. Yang <email@example.com>
The following warning flags should also go into the needsDesugar list I think:
Opt_WarnInlineRuleShadowing Opt_WarnOverlappingPatterns Opt_WarnUnusedDoBind Opt_WarnWrongDoBind
Found by running:
grep -R -o -h 'Opt_Warn[^ ]*' compiler/deSugar/ | sort | uniq