about summary refs log tree commit diff
path: root/tests/codegen/async-fn-debug-awaitee-field.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-12-19 22:38:49 +0000
committerbors <bors@rust-lang.org>2024-12-19 22:38:49 +0000
commit8700ba1c2cbafd99ac6bd13a3dad61dd2f2912fb (patch)
tree94b178d6564e5d6dfe7c6cd10b71a4d58abd0182 /tests/codegen/async-fn-debug-awaitee-field.rs
parent9e136a30a965bf4e63f03095c57df7257bf96fd6 (diff)
parent4f053b18f53c019f36f79f429bbc01ec5c53e8dc (diff)
downloadrust-8700ba1c2cbafd99ac6bd13a3dad61dd2f2912fb.tar.gz
rust-8700ba1c2cbafd99ac6bd13a3dad61dd2f2912fb.zip
Auto merge of #134516 - matthiaskrgr:rollup-aqwxii0, r=matthiaskrgr
Rollup of 5 pull requests

Successful merges:

 - #134463 (compiletest: don't register predefined `MSVC`/`NONMSVC` FileCheck prefixes)
 - #134487 (Add reference annotations for the `coverage` attribute)
 - #134497 (coverage: Store coverage source regions as `Span` until codegen (take 2))
 - #134502 (Update std libc version to 0.2.169)
 - #134506 (Remove a duplicated check that doesn't do anything anymore.)

r? `@ghost`
`@rustbot` modify labels: rollup
Diffstat (limited to 'tests/codegen/async-fn-debug-awaitee-field.rs')
-rw-r--r--tests/codegen/async-fn-debug-awaitee-field.rs12
1 files changed, 8 insertions, 4 deletions
diff --git a/tests/codegen/async-fn-debug-awaitee-field.rs b/tests/codegen/async-fn-debug-awaitee-field.rs
index d1a7d738e9e..ab13d4509e2 100644
--- a/tests/codegen/async-fn-debug-awaitee-field.rs
+++ b/tests/codegen/async-fn-debug-awaitee-field.rs
@@ -1,8 +1,12 @@
-// This test makes sure that the coroutine field capturing the awaitee in a `.await` expression
-// is called "__awaitee" in debuginfo. This name must not be changed since debuggers and debugger
-// extensions rely on the field having this name.
-
 // ignore-tidy-linelength
+//! This test makes sure that the coroutine field capturing the awaitee in a `.await` expression
+//! is called `__awaitee` in debuginfo. This name must not be changed since debuggers and debugger
+//! extensions rely on the field having this name.
+
+//@ revisions: MSVC NONMSVC
+//@[MSVC] only-msvc
+//@[NONMSVC] ignore-msvc
+
 //@ compile-flags: -C debuginfo=2 --edition=2018 -Copt-level=0
 
 #![crate_type = "lib"]