Lines Matching refs:peek2
1084 || lookahead.peek(Token![auto]) && ahead.peek2(Token![trait]) in parse()
1115 } else if lookahead.peek(Token![union]) && ahead.peek2(Ident) { in parse()
1119 } else if lookahead.peek(Token![auto]) && ahead.peek2(Token![trait]) { in parse()
1122 || lookahead.peek(Token![default]) && !ahead.peek2(Token![!]) in parse()
1656 if input.peek(Ident) && input.peek2(Token![<]) { in fn_arg_typed()
2426 && (input.peek2(Token![>]) in parse_impl()
2427 || input.peek2(Token![#]) in parse_impl()
2428 || (input.peek2(Ident) || input.peek2(Lifetime)) in parse_impl()
2433 || input.peek2(Token![const])); in parse_impl()
2441 && (input.peek(Token![const]) || input.peek(Token![?]) && input.peek2(Token![const])); in parse_impl()
2448 let polarity = if input.peek(Token![!]) && !input.peek2(token::Brace) { in parse_impl()
2531 let defaultness = if lookahead.peek(Token![default]) && !ahead.peek2(Token![!]) { in parse()