The error message `could not evaluate static initializer` is oddly reported twice for some static initializers (see tests [`src/test/compile-fail/issue-14227.rs`](https://github.com/rust-lang/rust/blob/c697a56d01c650f65b4ca4a264db1ea3573d0565/src/test/compile-fail/issue-14227.rs) and [`src/test/compile-fail/issue-28324.rs`](https://github.com/rust-lang/rust/blob/c697a56d01c650f65b4ca4a264db1ea3573d0565/src/test/compile-fail/issue-28324.rs), for example). This was discovered in #51110, and the suspected cause is a change @oli-obk recently made to error reporting. CC @oli-obk @eddyb