Lines Matching full:complete
10 syn::custom_keyword!(complete);
14 // span of `complete`, then expression after `=> ...`
15 complete: Option<Expr>, field
23 Complete, enumerator
31 complete: None, in parse()
38 let case_kind = if input.peek(kw::complete) { in parse()
39 // `complete` in parse()
40 if select.complete.is_some() { in parse()
41 return Err(input.error("multiple `complete` cases found, only one allowed")); in parse()
43 input.parse::<kw::complete>()?; in parse()
44 CaseKind::Complete in parse()
74 CaseKind::Complete => select.complete = Some(expr), in parse()
90 // `enum __PrivResult<_1, _2, ...> { _1(_1), _2(_2), ..., Complete }`
94 complete: bool, in declare_result_enum()
106 let complete_variant = if complete { in declare_result_enum()
107 Some(quote!(Complete)) in declare_result_enum()
145 parsed.complete.is_some(), in select_inner()
221 let none_polled = if parsed.complete.is_some() { in select_inner()
223 __futures_crate::task::Poll::Ready(#enum_ident::Complete) in select_inner()
228 but no `complete =>` handler was provided") in select_inner()
241 let complete_branch = parsed.complete.map(|complete_expr| { in select_inner()
243 #enum_ident::Complete => { #complete_expr }, in select_inner()