]> git.lizzy.rs Git - rust.git/commit - src/tools/rust-analyzer
Auto merge of #98758 - nnethercote:more-derive-output-improvements, r=Mark-Simulacrum
authorbors <bors@rust-lang.org>
Fri, 8 Jul 2022 12:44:14 +0000 (12:44 +0000)
committerbors <bors@rust-lang.org>
Fri, 8 Jul 2022 12:44:14 +0000 (12:44 +0000)
commitfbdb07f4e7f4666085aec4b1ed2fd05817dc42cf
tree30cf3d42b6fd9da4a7e83598c4b72ee6ab2b6734
parent1dcff2d5077244f49687ea25070958f23bd9edc6
parent0da063c9916fc3ce1330ac14e28ea7bca002ac89
Auto merge of #98758 - nnethercote:more-derive-output-improvements, r=Mark-Simulacrum

More derive output improvements

This PR includes:
- Some test improvements.
- Some cosmetic changes to derive output that make the code look more like what a human would write.
- Some more fundamental improvements to `cmp` and `partial_cmp` generation.

r? `@Mark-Simulacrum`
compiler/rustc_ast/src/ast.rs