Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: dtolnay/syn
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2.0.114
Choose a base ref
...
head repository: dtolnay/syn
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2.0.115
Choose a head ref
  • 20 commits
  • 13 files changed
  • 1 contributor

Commits on Jan 8, 2026

  1. Configuration menu
    Copy the full SHA
    9109265 View commit details
    Browse the repository at this point in the history
  2. Resolve unnested_or_patterns pedantic clippy lint in test

        warning: unnested or-patterns
           --> tests/common/eq.rs:895:25
            |
        895 | /                         AttrItemKind::Parsed(_)
        896 | |                         | AttrItemKind::Unparsed(AttrArgs::Empty)
        897 | |                         | AttrItemKind::Unparsed(AttrArgs::Delimited(_)) => false,
            | |________________________________________________________________________^
            |
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnested_or_patterns
            = note: `-W clippy::unnested-or-patterns` implied by `-W clippy::pedantic`
            = help: to override `-W clippy::pedantic` add `#[allow(clippy::unnested_or_patterns)]`
        help: nest the patterns
            |
        895 ~                         AttrItemKind::Parsed(_) |
        896 ~ AttrItemKind::Unparsed(AttrArgs::Empty | AttrArgs::Delimited(_)) => false,
            |
    dtolnay committed Jan 8, 2026
    Configuration menu
    Copy the full SHA
    fa9129f View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2026

  1. Configuration menu
    Copy the full SHA
    34590a1 View commit details
    Browse the repository at this point in the history

Commits on Jan 13, 2026

  1. Configuration menu
    Copy the full SHA
    2c7392d View commit details
    Browse the repository at this point in the history

Commits on Jan 21, 2026

  1. Configuration menu
    Copy the full SHA
    2efa9ff View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2026

  1. Resolve duration_suboptimal_units pedantic clippy lint

        warning: constructing a `Duration` using a smaller unit when a larger unit would be more readable
          --> tests/repo/progress.rs:14:36
           |
        14 |             tick: Instant::now() + Duration::from_millis(2000),
           |                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
           |
           = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#duration_suboptimal_units
           = note: `-W clippy::duration-suboptimal-units` implied by `-W clippy::pedantic`
           = help: to override `-W clippy::pedantic` add `#[allow(clippy::duration_suboptimal_units)]`
        help: try using from_secs
           |
        14 -             tick: Instant::now() + Duration::from_millis(2000),
        14 +             tick: Instant::now() + Duration::from_secs(2),
           |
    dtolnay committed Jan 24, 2026
    Configuration menu
    Copy the full SHA
    b7a2405 View commit details
    Browse the repository at this point in the history
  2. Resolve map_unwrap_or pedantic clippy lint

        warning: called `map(<f>).unwrap_or(false)` on a `Result` value
           --> src/parse.rs:291:16
            |
        291 |               && ahead
            |  ________________^
        292 | |                 .parse::<Ident>()
        293 | |                 .map(|ident| ident == tag)
        294 | |                 .unwrap_or(false)
            | |_________________________________^
            |
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#map_unwrap_or
            = note: `-W clippy::map-unwrap-or` implied by `-W clippy::pedantic`
            = help: to override `-W clippy::pedantic` add `#[allow(clippy::map_unwrap_or)]`
        help: use `is_ok_and(<f>)` instead
            |
        293 -                 .map(|ident| ident == tag)
        294 -                 .unwrap_or(false)
        293 +                 .is_ok_and(|ident| ident == tag)
            |
    dtolnay committed Jan 24, 2026
    Configuration menu
    Copy the full SHA
    ae44659 View commit details
    Browse the repository at this point in the history

Commits on Jan 25, 2026

  1. Configuration menu
    Copy the full SHA
    5d3cf67 View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2026

  1. Configuration menu
    Copy the full SHA
    46a6b9f View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2026

  1. Configuration menu
    Copy the full SHA
    8dc889b View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2026

  1. Configuration menu
    Copy the full SHA
    a9c0919 View commit details
    Browse the repository at this point in the history
  2. Resolve unnecessary_map_or clippy lint

        warning: this `map_or` can be simplified
           --> src/parse.rs:623:13
            |
        623 |             buffer.cursor().skip().map_or(false, peek)
            |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
            |
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or
            = note: `-W clippy::unnecessary-map-or` implied by `-W clippy::all`
            = help: to override `-W clippy::all` add `#[allow(clippy::unnecessary_map_or)]`
        help: use `is_some_and` instead
            |
        623 -             buffer.cursor().skip().map_or(false, peek)
        623 +             buffer.cursor().skip().is_some_and(peek)
            |
    
        warning: this `map_or` can be simplified
           --> src/parse.rs:633:13
            |
        633 | /             buffer
        634 | |                 .cursor()
        635 | |                 .skip()
        636 | |                 .and_then(Cursor::skip)
        637 | |                 .map_or(false, peek)
            | |____________________________________^
            |
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or
        help: use `is_some_and` instead
            |
        637 -                 .map_or(false, peek)
        637 +                 .is_some_and(peek)
            |
    
        warning: this `map_or` can be simplified
           --> tests/common/eq.rs:259:17
            |
        259 | /                 other
        260 | |                     .get(key)
        261 | |                     .map_or(false, |other_v| SpanlessEq::eq(this_v, other_v))
            | |_____________________________________________________________________________^
            |
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or
            = note: `-W clippy::unnecessary-map-or` implied by `-W clippy::all`
            = help: to override `-W clippy::all` add `#[allow(clippy::unnecessary_map_or)]`
        help: use `is_some_and` instead
            |
        261 -                     .map_or(false, |other_v| SpanlessEq::eq(this_v, other_v))
        261 +                     .is_some_and(|other_v| SpanlessEq::eq(this_v, other_v))
            |
    dtolnay committed Feb 8, 2026
    Configuration menu
    Copy the full SHA
    f85f4ac View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    92a0aa4 View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2026

  1. Configuration menu
    Copy the full SHA
    6142490 View commit details
    Browse the repository at this point in the history

Commits on Feb 11, 2026

  1. Configuration menu
    Copy the full SHA
    0b9544a View commit details
    Browse the repository at this point in the history

Commits on Feb 12, 2026

  1. Update toml from 0.9 to 1.0

    dtolnay committed Feb 12, 2026
    Configuration menu
    Copy the full SHA
    530e7e7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9065157 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a3faba7 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #1966 from dtolnay/constraint

    Enable GenericArgument::Constraint parsing in non-full mode
    dtolnay authored Feb 12, 2026
    Configuration menu
    Copy the full SHA
    f22e806 View commit details
    Browse the repository at this point in the history
  5. Release 2.0.115

    dtolnay committed Feb 12, 2026
    Configuration menu
    Copy the full SHA
    3610c34 View commit details
    Browse the repository at this point in the history
Loading