Arguably Rust got good error messages by learning from Elm: https://elm-lang.org/news/compiler-errors-for-humans
People getting used to good errors and demanding more, is part of the virtuous circle that keeps them high quality.
Making good looking diagnostics requires UX work, but making good diagnostics requires a flexible compiler architecture and a lot of effort, nothing more, nothing less.
Go read the above.