rust/compiler/rustc_lint
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 non_local_defs: point to Self and Trait to give more context 2024-05-27 23:59:18 +02:00
messages.ftl lint on tail expr drop order change in Edition 2024 2024-08-21 01:05:21 +08:00