about summary refs log tree commit diff
path: root/tests/coverage/async.coverage
diff options
context:
space:
mode:
authorAndrew Zhogin <andrew.zhogin@gmail.com>2025-07-01 23:54:52 +0700
committerAndrew Zhogin <andrew.zhogin@gmail.com>2025-09-01 13:45:00 +0700
commitc2c58cbc65343f1a227885c7a5893f3e6d616e82 (patch)
treef24ab9f20f6f7a2beba266cc4e541db98cc2cc8f /tests/coverage/async.coverage
parent922958cffe059e9c156835df19d199ccd861c36a (diff)
downloadrust-c2c58cbc65343f1a227885c7a5893f3e6d616e82.tar.gz
rust-c2c58cbc65343f1a227885c7a5893f3e6d616e82.zip
pub async fn implementation coroutine (func::{closure#0}) is monomorphized, when func itself is monomorphized
Diffstat (limited to 'tests/coverage/async.coverage')
-rw-r--r--tests/coverage/async.coverage4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/coverage/async.coverage b/tests/coverage/async.coverage
index 9fca1b6997d..9409e6b1deb 100644
--- a/tests/coverage/async.coverage
+++ b/tests/coverage/async.coverage
@@ -24,8 +24,8 @@
    LL|       |
    LL|      0|async fn foo() -> [bool; 10] { [false; 10] } // unused function; executor does not block on `h()`
    LL|       |
-   LL|      1|pub async fn g(x: u8) {
-                                    ^0
+   LL|      1|async fn g(x: u8) {
+                                ^0
    LL|      0|    match x {
    LL|      0|        y if e().await == y => (),
    LL|      0|        y if f().await == y => (),