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