1#![allow(clippy::let_underscore_untyped)]
2
3use syn::ext::IdentExt;
4use syn::parse::ParseStream;
5use syn::{Ident, Token};
6
7#[test]
8fn test_peek() {
9 let _ = |input: ParseStream| {
10 let _ = input.peek(Ident);
11 let _ = input.peek(Ident::peek_any);
12 let _ = input.peek(Token![::]);
13 };
14}
15