Description
Currently, we don't have a way to easily test that errors have proper formatting. This means we could potentially have regressions in terms of readability that we don't immediately catch. It also means that possibly future improvements, like #32756, don't have a way to thoroughly catch where tweaks to formatting one one kind of error impact other errors in unintended ways.
A possible additional aspect of this kind of UI testing is that it allows us to not only test formatting but optionally we could also add the ability to test the highlighting to ensure that the errors are using the expected coloring.
Additionally, we currently have hacks in the unit test suite that check for column offsets (like compile-fail/symbol-names/issue-32709.rs). Having a more structured UI test allows tests to do specific formatting checks like column numbers.