mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 16:24:46 +00:00
937a18daf9
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... 🤔
|
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
messages.ftl |