about summary refs log tree commit diff
diff options
context:
space:
mode:
authorkirandevraj <thekirandevraj@gmail.com>2024-03-10 01:24:35 +0530
committerkirandevraj <thekirandevraj@gmail.com>2024-03-10 01:24:35 +0530
commit6f1156a9ff75305b88ce2cb43e21ee04e7a8b556 (patch)
tree8c6f67309e55d601c09f6cd7139513e04a4e8fdc
parent3ab693689ae878aca6c0c6f188370de973d246e1 (diff)
downloadrust-6f1156a9ff75305b88ce2cb43e21ee04e7a8b556.tar.gz
rust-6f1156a9ff75305b88ce2cb43e21ee04e7a8b556.zip
fixing mir pass name to text comment
-rw-r--r--tests/mir-opt/unnamed-fields/field_access.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/mir-opt/unnamed-fields/field_access.rs b/tests/mir-opt/unnamed-fields/field_access.rs
index 8024fd5015d..70ce7c222ff 100644
--- a/tests/mir-opt/unnamed-fields/field_access.rs
+++ b/tests/mir-opt/unnamed-fields/field_access.rs
@@ -1,4 +1,4 @@
-//@ unit-test: UnnamedFields
+// Tests the correct handling of unnamed fields within structs and unions marked with #[repr(C)].
 
 // EMIT_MIR field_access.foo.SimplifyCfg-initial.after.mir
 // EMIT_MIR field_access.bar.SimplifyCfg-initial.after.mir