Lines Matching full:bounds

135         pub bounds: Punctuated<TypeParamBound, Token![+]>,
219 pub bounds: Punctuated<TypeParamBound, Token![+]>,
399 bounds: { in ambig_ty()
400 let mut bounds = Punctuated::new(); in ambig_ty() localVariable
401 bounds.push_value(TypeParamBound::Trait(TraitBound { in ambig_ty()
406 bounds.push_punct(plus); in ambig_ty()
407 bounds.push_value({ in ambig_ty()
417 bounds in ambig_ty()
453 bounds, in ambig_ty()
455 if bounds.len() > 1 || bounds.trailing_punct() { in ambig_ty()
458 bounds, in ambig_ty()
462 match bounds.into_iter().next().unwrap() { in ambig_ty()
478 bounds: { in ambig_ty()
479 let mut bounds = Punctuated::new(); in ambig_ty() localVariable
480 bounds.push_value(first); in ambig_ty()
482 bounds.push_punct(plus); in ambig_ty()
483 bounds.push_value({ in ambig_ty()
493 bounds in ambig_ty()
536 let mut bounds = Punctuated::new(); in ambig_ty() localVariable
537 bounds.push_value(TypeParamBound::Trait(TraitBound { in ambig_ty()
545 bounds.push_punct(input.parse()?); in ambig_ty()
554 bounds.push_value({ in ambig_ty()
563 bounds, in ambig_ty()
572 let bounds = TypeTraitObject::parse_bounds(dyn_span, input, allow_plus)?; in ambig_ty() localVariable
578 bounds, in ambig_ty()
840 let bounds = Self::parse_bounds(dyn_span, input, allow_plus)?; in parse() localVariable
841 Ok(TypeTraitObject { dyn_token, bounds }) in parse()
851 let bounds = TypeParamBound::parse_multiple( in parse_bounds() localVariable
859 for bound in &bounds { in parse_bounds()
878 Ok(bounds) in parse_bounds()
901 let bounds = TypeParamBound::parse_multiple( in parse() localVariable
909 for bound in &bounds { in parse()
944 Ok(TypeImplTrait { impl_token, bounds }) in parse()
1184 self.bounds.to_tokens(tokens); in to_tokens()
1192 self.bounds.to_tokens(tokens); in to_tokens()