[Git][ghc/ghc][wip/sol/add-rendered-to-json-diagnostics] 17 commits: Consider `PromotedDataCon` in `tyConStupidTheta`