blob: 76bd065777a75b116e4fa757dfb552021c577025 (
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() {
let _ = |input: ParseStream| {
let _ = input.peek(Ident);
let _ = input.peek(Ident::peek_any);
let _ = input.peek(Token![::]);
};
}
|