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