You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
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![::]);
|
|
};
|
|
}
|