Searched refs:allow_const (Results 1 – 4 of 4) sorted by relevance
| /linux/rust/syn/ |
| H A D | generics.rs | 715 let allow_const = true; in parse() localVariable 716 TypeParamBound::parse_single(input, allow_precise_capture, allow_const)? in parse() 748 let allow_const = true; in parse() localVariable 749 Self::parse_single(input, allow_precise_capture, allow_const) in parse() 757 allow_const: bool, in parse_single() 789 if let Some(mut bound) = TraitBound::do_parse(content, allow_const)? { in parse_single() 801 allow_const: bool, in parse_multiple() 805 let bound = Self::parse_single(input, allow_precise_capture, allow_const)?; in parse_multiple() 816 || (allow_const && (input.peek(token::Bracket) || input.peek(Token![const])))) in parse_multiple() 828 let allow_const = false; in parse() localVariable [all …]
|
| H A D | ty.rs | 409 let allow_const = false; in ambig_ty() localVariable 413 allow_const, in ambig_ty() 485 let allow_const = false; in ambig_ty() localVariable 489 allow_const, in ambig_ty() 556 let allow_const = false; in ambig_ty() localVariable 557 TypeParamBound::parse_single(input, allow_precise_capture, allow_const)? in ambig_ty() 850 let allow_const = false; in parse_bounds() localVariable 855 allow_const, in parse_bounds() 900 let allow_const = true; in parse() localVariable 905 allow_const, in parse()
|
| H A D | path.rs | 384 let allow_const = true; in parse() localVariable 388 allow_const, in parse()
|
| H A D | item.rs | 1213 let allow_const = true; in parse_optional_bounds() localVariable 1214 TypeParamBound::parse_single(input, allow_precise_capture, allow_const)? in parse_optional_bounds() 2234 let allow_const = true; in parse_rest_of_trait() localVariable 2235 TypeParamBound::parse_single(input, allow_precise_capture, allow_const)? in parse_rest_of_trait() 2306 let allow_const = false; in parse_rest_of_trait_alias() localVariable 2307 TypeParamBound::parse_single(input, allow_precise_capture, allow_const)? in parse_rest_of_trait_alias()
|