about summary refs log tree commit diff
path: root/tests/mir-opt/array_index_is_temporary.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mir-opt/array_index_is_temporary.rs')
-rw-r--r--tests/mir-opt/array_index_is_temporary.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/mir-opt/array_index_is_temporary.rs b/tests/mir-opt/array_index_is_temporary.rs
index f5edc68905b..3e5d5d5dd27 100644
--- a/tests/mir-opt/array_index_is_temporary.rs
+++ b/tests/mir-opt/array_index_is_temporary.rs
@@ -1,4 +1,4 @@
-// unit-test: SimplifyCfg-elaborate-drops
+//@ unit-test: SimplifyCfg-elaborate-drops
 // EMIT_MIR_FOR_EACH_PANIC_STRATEGY
 // Retagging (from Stacked Borrows) relies on the array index being a fresh
 // temporary, so that side-effects cannot change it.