mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
f540b27f90
Clean up the eager formatting API For https://github.com/rust-lang/rust/issues/151366#event-22181360642 Previously eager formatting worked by throwing the arguments into a diag, formatting, then removing the args again. This is ugly so instead we now just do the formatting completely separately. This PR has nice commits, so I recommend reviewing commit by commit. r? @GuillaumeGomez