Lines Matching refs:async
10 async fn sync_one_lit_expr_comma() { in sync_one_lit_expr_comma()
12 foo = async { 1 } => foo, in sync_one_lit_expr_comma()
19 async fn nested_one() { in nested_one()
21 foo = async { 1 } => tokio::select! { in nested_one()
22 bar = async { foo } => bar, in nested_one()
30 async fn sync_one_lit_expr_no_comma() { in sync_one_lit_expr_no_comma()
32 foo = async { 1 } => foo in sync_one_lit_expr_no_comma()
39 async fn sync_one_lit_expr_block() { in sync_one_lit_expr_block()
41 foo = async { 1 } => { foo } in sync_one_lit_expr_block()
48 async fn sync_one_await() { in sync_one_await()
57 async fn sync_one_ident() { in sync_one_ident()
68 async fn sync_two() { in sync_two()
74 foo = async { in sync_two()
78 bar = async { in sync_two()
89 async fn drop_in_fut() { in drop_in_fut()
93 foo = async { in drop_in_fut()
104 async fn one_ready() { in one_ready()
121 async fn select_streams() { in select_streams()
125 tokio::spawn(async move { in select_streams()
160 async fn move_uncompleted_futures() { in move_uncompleted_futures()
186 async fn nested() { in nested()
188 x = async { 1 } => { in nested()
190 y = async { 2 } => x + y, in nested()
199 async fn struct_size() { in struct_size()
203 let fut = async { in struct_size()
213 let fut = async { in struct_size()
225 let fut = async { in struct_size()
241 async fn mutable_borrowing_future_with_same_borrow_in_block() { in mutable_borrowing_future_with_same_borrow_in_block()
255 async fn mutable_borrowing_future_with_same_borrow_in_block_and_else() { in mutable_borrowing_future_with_same_borrow_in_block_and_else()
272 async fn future_panics_after_poll() { in future_panics_after_poll()
285 let mut f = task::spawn(async { in future_panics_after_poll()
302 async fn disable_with_if() { in disable_with_if()
308 let mut f = task::spawn(async { in disable_with_if()
324 async fn join_with_select() { in join_with_select()
330 let mut f = task::spawn(async { in join_with_select()
359 async fn use_future_in_if_condition() { in use_future_in_if_condition()
366 _ = async { 1u32 } => { in use_future_in_if_condition()
372 async fn use_future_in_if_condition_biased() { in use_future_in_if_condition_biased()
380 _ = async { 1u32 } => { in use_future_in_if_condition_biased()
386 async fn many_branches() { in many_branches()
388 x = async { 1 } => x, in many_branches()
389 x = async { 1 } => x, in many_branches()
390 x = async { 1 } => x, in many_branches()
391 x = async { 1 } => x, in many_branches()
392 x = async { 1 } => x, in many_branches()
393 x = async { 1 } => x, in many_branches()
394 x = async { 1 } => x, in many_branches()
395 x = async { 1 } => x, in many_branches()
396 x = async { 1 } => x, in many_branches()
397 x = async { 1 } => x, in many_branches()
398 x = async { 1 } => x, in many_branches()
399 x = async { 1 } => x, in many_branches()
400 x = async { 1 } => x, in many_branches()
401 x = async { 1 } => x, in many_branches()
402 x = async { 1 } => x, in many_branches()
403 x = async { 1 } => x, in many_branches()
404 x = async { 1 } => x, in many_branches()
405 x = async { 1 } => x, in many_branches()
406 x = async { 1 } => x, in many_branches()
407 x = async { 1 } => x, in many_branches()
408 x = async { 1 } => x, in many_branches()
409 x = async { 1 } => x, in many_branches()
410 x = async { 1 } => x, in many_branches()
411 x = async { 1 } => x, in many_branches()
412 x = async { 1 } => x, in many_branches()
413 x = async { 1 } => x, in many_branches()
414 x = async { 1 } => x, in many_branches()
415 x = async { 1 } => x, in many_branches()
416 x = async { 1 } => x, in many_branches()
417 x = async { 1 } => x, in many_branches()
418 x = async { 1 } => x, in many_branches()
419 x = async { 1 } => x, in many_branches()
420 x = async { 1 } => x, in many_branches()
421 x = async { 1 } => x, in many_branches()
422 x = async { 1 } => x, in many_branches()
423 x = async { 1 } => x, in many_branches()
424 x = async { 1 } => x, in many_branches()
425 x = async { 1 } => x, in many_branches()
426 x = async { 1 } => x, in many_branches()
427 x = async { 1 } => x, in many_branches()
428 x = async { 1 } => x, in many_branches()
429 x = async { 1 } => x, in many_branches()
430 x = async { 1 } => x, in many_branches()
431 x = async { 1 } => x, in many_branches()
432 x = async { 1 } => x, in many_branches()
433 x = async { 1 } => x, in many_branches()
434 x = async { 1 } => x, in many_branches()
435 x = async { 1 } => x, in many_branches()
436 x = async { 1 } => x, in many_branches()
437 x = async { 1 } => x, in many_branches()
438 x = async { 1 } => x, in many_branches()
439 x = async { 1 } => x, in many_branches()
440 x = async { 1 } => x, in many_branches()
441 x = async { 1 } => x, in many_branches()
442 x = async { 1 } => x, in many_branches()
443 x = async { 1 } => x, in many_branches()
444 x = async { 1 } => x, in many_branches()
445 x = async { 1 } => x, in many_branches()
446 x = async { 1 } => x, in many_branches()
447 x = async { 1 } => x, in many_branches()
448 x = async { 1 } => x, in many_branches()
449 x = async { 1 } => x, in many_branches()
450 x = async { 1 } => x, in many_branches()
457 async fn never_branch_no_warnings() { in never_branch_no_warnings()
465 async fn one() -> usize { in one()
469 async fn require_mutable(_: &mut i32) {} in require_mutable()
470 async fn async_noop() {} in async_noop()
472 async fn async_never() -> ! { in async_never()
478 async fn mut_on_left_hand_side() { in mut_on_left_hand_side()
479 let v = async move { in mut_on_left_hand_side()
480 let ok = async { 1 }; in mut_on_left_hand_side()
494 async fn biased_one_not_ready() { in biased_one_not_ready()
518 async fn biased_eventually_ready() { in biased_eventually_ready()
521 let one = async {}; in biased_eventually_ready()
522 let two = async { yield_now().await }; in biased_eventually_ready()
523 let three = async { yield_now().await }; in biased_eventually_ready()
555 pub async fn default_numeric_fallback() { in default_numeric_fallback()
557 _ = async {} => (), in default_numeric_fallback()
564 async fn mut_ref_patterns() { in mut_ref_patterns()
566 Some(mut foo) = async { Some("1".to_string()) } => { in mut_ref_patterns()
574 Some(ref foo) = async { Some("1".to_string()) } => { in mut_ref_patterns()
580 Some(ref mut foo) = async { Some("1".to_string()) } => { in mut_ref_patterns()