about summary refs log tree commit diff
path: root/tests/mir-opt/inline_coroutine_body.rs
diff options
context:
space:
mode:
author许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com>2024-04-20 21:45:38 +0100
committerGitHub <noreply@github.com>2024-04-20 21:45:38 +0100
commitc72cfdd46fff49c382d3834b4f0e48d75aedb970 (patch)
treeebbac1bfe658a8b4ce61b802a9dc47d8498ccf48 /tests/mir-opt/inline_coroutine_body.rs
parentb3f9117a2d4e316b0f44a1d0b0e4bc38ed8b01c3 (diff)
parent75d0fdd96713874703998cb06dae67ab09b7897e (diff)
downloadrust-c72cfdd46fff49c382d3834b4f0e48d75aedb970.tar.gz
rust-c72cfdd46fff49c382d3834b4f0e48d75aedb970.zip
Rollup merge of #124196 - RalfJung:mir-opt-tests, r=Mark-Simulacrum
mir-opt tests: rename unit-test -> test-mir-pass

"unit-test" is extremely non-descriptive, no idea how one is supposed to read that and know that this specifies the MIR pass being tested.
Diffstat (limited to 'tests/mir-opt/inline_coroutine_body.rs')
-rw-r--r--tests/mir-opt/inline_coroutine_body.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/mir-opt/inline_coroutine_body.rs b/tests/mir-opt/inline_coroutine_body.rs
index be73bc49de5..4326ff8a11b 100644
--- a/tests/mir-opt/inline_coroutine_body.rs
+++ b/tests/mir-opt/inline_coroutine_body.rs
@@ -1,6 +1,6 @@
 // EMIT_MIR_FOR_EACH_PANIC_STRATEGY
 // skip-filecheck
-//@ unit-test: Inline
+//@ test-mir-pass: Inline
 //@ edition: 2021
 //@ compile-flags: -Zinline-mir-hint-threshold=10000 -Zinline-mir-threshold=10000 --crate-type=lib