Skip to content

Commit 7426c83

Browse files
committed
add a test case
1 parent c81888e commit 7426c83

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

tests/ui/let_unit.fixed

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,3 +177,5 @@ fn attributes() {
177177
async fn issue10433() {
178178
let _pending: () = std::future::pending().await;
179179
}
180+
181+
pub async fn issue11502(a: ()) {}

tests/ui/let_unit.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,3 +177,5 @@ fn attributes() {
177177
async fn issue10433() {
178178
let _pending: () = std::future::pending().await;
179179
}
180+
181+
pub async fn issue11502(a: ()) {}

0 commit comments

Comments
 (0)