mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-30 13:06:28 +03:00
7e1415ea80
Make ErrorReported impossible to construct outside `rustc_errors` There are a few places were we have to construct it, though, and a few places that are more invasive to change. To do this, we create a constructor with a long obvious name. cc #69426 `@varkor` `@eddyb` `@estebank` I actually didn't see that I was assigned to this issue until now...