Home
last modified time | relevance | path

Searched refs:allow_plus (Results 1 – 3 of 3) sorted by relevance

/linux/rust/syn/
H A Dty.rs300 let allow_plus = true; in parse() localVariable
302 ambig_ty(input, allow_plus, allow_group_generic) in parse()
314 let allow_plus = false; in without_plus() localVariable
316 ambig_ty(input, allow_plus, allow_group_generic) in without_plus()
322 allow_plus: bool, in ambig_ty()
440 if allow_plus && input.peek(Token![+]) { in ambig_ty()
535 if lifetimes.is_some() || allow_plus && input.peek(Token![+]) { in ambig_ty()
543 if allow_plus { in ambig_ty()
572 let bounds = TypeTraitObject::parse_bounds(dyn_span, input, allow_plus)?; in ambig_ty()
605 TypeImplTrait::parse(input, allow_plus).map(Type::ImplTrait) in ambig_ty()
[all …]
H A Dgenerics.rs799 allow_plus: bool, in parse_multiple()
807 if !(allow_plus && input.peek(Token![+])) { in parse_multiple()
H A Dexpr.rs1375 let allow_plus = false; in parse_expr() localVariable
1377 let ty = ty::parsing::ambig_ty(input, allow_plus, allow_group_generic)?; in parse_expr()
1418 let allow_plus = false; in parse_expr() localVariable
1420 let ty = ty::parsing::ambig_ty(input, allow_plus, allow_group_generic)?; in parse_expr()