We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c81888e commit 7426c83Copy full SHA for 7426c83
tests/ui/let_unit.fixed
@@ -177,3 +177,5 @@ fn attributes() {
177
async fn issue10433() {
178
let _pending: () = std::future::pending().await;
179
}
180
+
181
+pub async fn issue11502(a: ()) {}
tests/ui/let_unit.rs
0 commit comments