Add option to make selected warnings errors
|Reported by:||nh2||Owned by:|
|Type of failure:||None/Unknown||Test Case:|
|Related Tickets:||#11219||Differential Rev(s):|
It would be great if GHC offered a -ferror-* flag for every -fwarn-* flag, that turns the given type of warning into an error.
For example, I would like to always error on uninitialized record fields, but don't want to go full -Werror.