compiler: missing-deriving-strategies suggested fix
Extends the missing-deriving-strategies warning with a suggested fix that includes which deriving strategies were assumed. For info about the warning, see comments for `TcRnNoDerivStratSpecified`, `TcRnNoDerivingClauseStrategySpecified`, & `TcRnNoStandaloneDerivingStrategySpecified`. For info about the suggested fix, see `SuggestExplicitDerivingClauseStrategies` & `SuggestExplicitStandalanoDerivingStrategy`. docs: Rewords missing-deriving-strategies to mention the suggested fix. Resolves #24955
Showing
- compiler/GHC/Rename/Module.hs 0 additions, 15 deletionscompiler/GHC/Rename/Module.hs
- compiler/GHC/Tc/Deriv.hs 101 additions, 13 deletionscompiler/GHC/Tc/Deriv.hs
- compiler/GHC/Tc/Errors/Ppr.hs 7 additions, 3 deletionscompiler/GHC/Tc/Errors/Ppr.hs
- compiler/GHC/Tc/Errors/Types.hs 60 additions, 11 deletionscompiler/GHC/Tc/Errors/Types.hs
- compiler/GHC/Types/Hint.hs 37 additions, 1 deletioncompiler/GHC/Types/Hint.hs
- compiler/GHC/Types/Hint/Ppr.hs 15 additions, 2 deletionscompiler/GHC/Types/Hint/Ppr.hs
- docs/users_guide/using-warnings.rst 6 additions, 3 deletionsdocs/users_guide/using-warnings.rst
- testsuite/tests/deriving/should_compile/T15798a.hs 0 additions, 0 deletionstestsuite/tests/deriving/should_compile/T15798a.hs
- testsuite/tests/deriving/should_compile/T15798a.stderr 6 additions, 0 deletionstestsuite/tests/deriving/should_compile/T15798a.stderr
- testsuite/tests/deriving/should_compile/T15798b.hs 0 additions, 0 deletionstestsuite/tests/deriving/should_compile/T15798b.hs
- testsuite/tests/deriving/should_compile/T15798b.stderr 8 additions, 0 deletionstestsuite/tests/deriving/should_compile/T15798b.stderr
- testsuite/tests/deriving/should_compile/T15798c.hs 0 additions, 0 deletionstestsuite/tests/deriving/should_compile/T15798c.hs
- testsuite/tests/deriving/should_compile/T15798c.stderr 7 additions, 0 deletionstestsuite/tests/deriving/should_compile/T15798c.stderr
- testsuite/tests/deriving/should_compile/T24955a.hs 10 additions, 0 deletionstestsuite/tests/deriving/should_compile/T24955a.hs
- testsuite/tests/deriving/should_compile/T24955a.stderr 9 additions, 0 deletionstestsuite/tests/deriving/should_compile/T24955a.stderr
- testsuite/tests/deriving/should_compile/T24955b.hs 11 additions, 0 deletionstestsuite/tests/deriving/should_compile/T24955b.hs
- testsuite/tests/deriving/should_compile/T24955b.stderr 7 additions, 0 deletionstestsuite/tests/deriving/should_compile/T24955b.stderr
- testsuite/tests/deriving/should_compile/T24955c.hs 9 additions, 0 deletionstestsuite/tests/deriving/should_compile/T24955c.hs
- testsuite/tests/deriving/should_compile/T24955c.stderr 8 additions, 0 deletionstestsuite/tests/deriving/should_compile/T24955c.stderr
- testsuite/tests/deriving/should_compile/all.T 6 additions, 0 deletionstestsuite/tests/deriving/should_compile/all.T
Loading
Please register or sign in to comment