mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-27 19:16:36 +00:00
There are only three. It's simpler to make the type `DiagnosticBuilder<'_, ()>` from the start, no matter the level, than to change the guarantee later.
Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.