Sha256: a7e186272c89a239cae03053b5a039cdc073cdb46fad64b178fe76fde98405d5

Contents?: true

Size: 311 Bytes

Versions: 14

Compression:

Stored size: 311 Bytes

Contents

#![allow(clippy::let_underscore_untyped)]

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![::]);
    };
}

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
wasmtime-14.0.4 ./ext/cargo-vendor/syn-2.0.38/tests/test_parse_stream.rs
wasmtime-14.0.3 ./ext/cargo-vendor/syn-2.0.38/tests/test_parse_stream.rs
wasmtime-14.0.1 ./ext/cargo-vendor/syn-2.0.38/tests/test_parse_stream.rs
wasmtime-14.0.0 ./ext/cargo-vendor/syn-2.0.38/tests/test_parse_stream.rs
wasmtime-13.0.0 ./ext/cargo-vendor/syn-2.0.29/tests/test_parse_stream.rs
wasmtime-12.0.1 ./ext/cargo-vendor/syn-2.0.29/tests/test_parse_stream.rs
wasmtime-12.0.0 ./ext/cargo-vendor/syn-2.0.29/tests/test_parse_stream.rs
wasmtime-11.0.0 ./ext/cargo-vendor/syn-2.0.29/tests/test_parse_stream.rs
wasmtime-10.0.1 ./ext/cargo-vendor/syn-2.0.28/tests/test_parse_stream.rs
wasmtime-10.0.0 ./ext/cargo-vendor/syn-2.0.28/tests/test_parse_stream.rs
wasmtime-9.0.4 ./ext/cargo-vendor/syn-2.0.28/tests/test_parse_stream.rs
wasmtime-9.0.1 ./ext/cargo-vendor/syn-2.0.16/tests/test_parse_stream.rs
wasmtime-8.0.0 ./ext/cargo-vendor/syn-2.0.15/tests/test_parse_stream.rs
wasmtime-7.0.0 ./ext/cargo-vendor/syn-2.0.12/tests/test_parse_stream.rs