Make ErrorReported impossible to construct outside rustc_errors
#93222
+704
−549
rustc_errors
#93222