1 | #![allow(clippy::let_underscore_untyped)] |
---|---|
2 | |
3 | use syn::ext::IdentExt; |
4 | use syn::parse::ParseStream; |
5 | use syn::{Ident, Token}; |
6 | |
7 | #[test] |
8 | fn 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 |