about summary refs log tree commit diff
path: root/src/test/codegen
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-07-08 12:44:14 +0000
committerbors <bors@rust-lang.org>2022-07-08 12:44:14 +0000
commitfbdb07f4e7f4666085aec4b1ed2fd05817dc42cf (patch)
tree30cf3d42b6fd9da4a7e83598c4b72ee6ab2b6734 /src/test/codegen
parent1dcff2d5077244f49687ea25070958f23bd9edc6 (diff)
parent0da063c9916fc3ce1330ac14e28ea7bca002ac89 (diff)
downloadrust-fbdb07f4e7f4666085aec4b1ed2fd05817dc42cf.tar.gz
rust-fbdb07f4e7f4666085aec4b1ed2fd05817dc42cf.zip
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`
Diffstat (limited to 'src/test/codegen')
-rw-r--r--src/test/codegen/consts.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/codegen/consts.rs b/src/test/codegen/consts.rs
index c97223879ca..260d9de8670 100644
--- a/src/test/codegen/consts.rs
+++ b/src/test/codegen/consts.rs
@@ -10,7 +10,7 @@
 // CHECK: @STATIC = {{.*}}, align 4
 
 // This checks the constants from inline_enum_const
-// CHECK: @alloc14 = {{.*}}, align 2
+// CHECK: @alloc12 = {{.*}}, align 2
 
 // This checks the constants from {low,high}_align_const, they share the same
 // constant, but the alignment differs, so the higher one should be used