crates.io / syn / 3.0.9

syn 3.0.9

Source
https://github.com/dtolnay/syn
Tag scanned
3.0.9
Compared with
3.0.8 (0 signals introduced since)
Files
142 scanned, 19 skipped (binary, oversized, or unrecognised)
Signals
0 critical · 0 warn · 5 info
Scan time
0.2 s
LLM review
LLM review by claude-haiku-5-5 (Anthropic): nothing at warn or critical to review.
Disclude version
4.0.0
Scanned (UTC)
2026-10-14 20:10

Signals

Ordered by severity, then signals introduced in this release. Hidden characters are shown as ⟨U+…⟩.

  1. info proc-macro-presence README.md:93:1

    [embedded rust] proc-macro attribute `#[proc_macro_derive]` present (ast pass, confidence 0.95)

    
    #[proc_macro_derive(MyMacro)]
    pub fn my_macro(input: TokenStream) -> TokenStream {
        // Parse the input tokens into a syntax tree
  2. info proc-macro-presence dev/parse.rs:5:1

    proc-macro attribute `#[proc_macro]` present (ast pass, confidence 0.95)

    
    #[proc_macro]
    pub fn r#mod(input: TokenStream) -> TokenStream {
        let compile_error = syn::parse::<File>(input)
  3. proc-macro attribute `#[proc_macro_derive]` present (ast pass, confidence 0.95)

    
    #[proc_macro_derive(HeapSize)]
    pub fn derive_heap_size(input: proc_macro::TokenStream) -> proc_macro::TokenStream {
        // Parse the input tokens into a syntax tree.
  4. proc-macro attribute `#[proc_macro]` present (ast pass, confidence 0.95)

    
    #[proc_macro]
    pub fn lazy_static(input: TokenStream) -> TokenStream {
        let LazyStatic {
  5. proc-macro attribute `#[proc_macro_attribute]` present (ast pass, confidence 0.95)

    /// ```
    #[proc_macro_attribute]
    pub fn trace_var(args: TokenStream, input: TokenStream) -> TokenStream {
        let input = parse_macro_input!(input as ItemFn);

Reproduce This Scan

Run disclude locally to verify. Add --format sarif for SARIF output. Add --llm (with an API key in the environment) to include the LLM review.

cargo install disclude --version 4.0.0
git clone https://github.com/dtolnay/syn syn && cd syn
git checkout 3.0.9
disclude scan --severity info --diff 3.0.8 .