diff options
| author | 许杰友 Jieyou Xu (Joe) <jieyouxu@outlook.com> | 2024-02-22 12:10:29 +0000 |
|---|---|---|
| committer | 许杰友 Jieyou Xu (Joe) <jieyouxu@outlook.com> | 2024-02-22 16:04:04 +0000 |
| commit | 6e48b96692d63a79a14563f27fe5185f122434f8 (patch) | |
| tree | 171bd5869f5d38c5b2b5d8e6dae91884cde9a173 /tests/mir-opt/array_index_is_temporary.rs | |
| parent | cbf10affb04c701c58087f450f63e769ad25f3c4 (diff) | |
| download | rust-6e48b96692d63a79a14563f27fe5185f122434f8.tar.gz rust-6e48b96692d63a79a14563f27fe5185f122434f8.zip | |
[AUTO_GENERATED] Migrate compiletest to use `ui_test`-style `//@` directives
Diffstat (limited to 'tests/mir-opt/array_index_is_temporary.rs')
| -rw-r--r-- | tests/mir-opt/array_index_is_temporary.rs | 2 |
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. |
