rust/compiler/rustc_const_eval
Matthias Krüger 937a18daf9
Rollup merge of #129344 - compiler-errors:less-option-unit-diagnostics, r=jieyouxu
Use `bool` in favor of `Option<()>` for diagnostics

We originally only supported `Option<()>` for optional notes/labels, but we now support `bool`. Let's use that, since it usually leads to more readable code.

I'm not removing the support from the derive macro, though I guess we could error on it... 🤔
2024-08-21 18:15:05 +02:00
..
src Rollup merge of #129344 - compiler-errors:less-option-unit-diagnostics, r=jieyouxu 2024-08-21 18:15:05 +02:00
Cargo.toml
messages.ftl rustc_const_eval: make LazyLock suggestion translatable 2024-08-10 14:32:55 +03:00