diff options
| author | Andrew Zhogin <andrew.zhogin@gmail.com> | 2025-07-01 23:54:52 +0700 | 
|---|---|---|
| committer | Andrew Zhogin <andrew.zhogin@gmail.com> | 2025-09-01 13:45:00 +0700 | 
| commit | c2c58cbc65343f1a227885c7a5893f3e6d616e82 (patch) | |
| tree | f24ab9f20f6f7a2beba266cc4e541db98cc2cc8f /tests/coverage/async.rs | |
| parent | 922958cffe059e9c156835df19d199ccd861c36a (diff) | |
| download | rust-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.rs')
| -rw-r--r-- | tests/coverage/async.rs | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/tests/coverage/async.rs b/tests/coverage/async.rs index da0a1c0b6f0..777ad7ce7c0 100644 --- a/tests/coverage/async.rs +++ b/tests/coverage/async.rs @@ -24,7 +24,7 @@ async fn f() -> u8 { 1 } async fn foo() -> [bool; 10] { [false; 10] } // unused function; executor does not block on `h()` -pub async fn g(x: u8) { +async fn g(x: u8) { match x { y if e().await == y => (), y if f().await == y => (), | 
