-
-
Notifications
You must be signed in to change notification settings - Fork 371
Comparing changes
Open a pull request
base repository: dtolnay/syn
base: 2.0.114
head repository: dtolnay/syn
compare: 2.0.115
- 20 commits
- 13 files changed
- 1 contributor
Commits on Jan 8, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 9109265 - Browse repository at this point
Copy the full SHA 9109265View commit details -
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, |Configuration menu - View commit details
-
Copy full SHA for fa9129f - Browse repository at this point
Copy the full SHA fa9129fView commit details
Commits on Jan 11, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 34590a1 - Browse repository at this point
Copy the full SHA 34590a1View commit details
Commits on Jan 13, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 2c7392d - Browse repository at this point
Copy the full SHA 2c7392dView commit details
Commits on Jan 21, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 2efa9ff - Browse repository at this point
Copy the full SHA 2efa9ffView commit details
Commits on Jan 24, 2026
-
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), |Configuration menu - View commit details
-
Copy full SHA for b7a2405 - Browse repository at this point
Copy the full SHA b7a2405View commit details -
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) |Configuration menu - View commit details
-
Copy full SHA for ae44659 - Browse repository at this point
Copy the full SHA ae44659View commit details
Commits on Jan 25, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 5d3cf67 - Browse repository at this point
Copy the full SHA 5d3cf67View commit details
Commits on Feb 4, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 46a6b9f - Browse repository at this point
Copy the full SHA 46a6b9fView commit details
Commits on Feb 7, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 8dc889b - Browse repository at this point
Copy the full SHA 8dc889bView commit details
Commits on Feb 8, 2026
-
Configuration menu - View commit details
-
Copy full SHA for a9c0919 - Browse repository at this point
Copy the full SHA a9c0919View commit details -
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)) |Configuration menu - View commit details
-
Copy full SHA for f85f4ac - Browse repository at this point
Copy the full SHA f85f4acView commit details -
Configuration menu - View commit details
-
Copy full SHA for 92a0aa4 - Browse repository at this point
Copy the full SHA 92a0aa4View commit details
Commits on Feb 9, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 6142490 - Browse repository at this point
Copy the full SHA 6142490View commit details
Commits on Feb 11, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 0b9544a - Browse repository at this point
Copy the full SHA 0b9544aView commit details
Commits on Feb 12, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 530e7e7 - Browse repository at this point
Copy the full SHA 530e7e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9065157 - Browse repository at this point
Copy the full SHA 9065157View commit details -
Configuration menu - View commit details
-
Copy full SHA for a3faba7 - Browse repository at this point
Copy the full SHA a3faba7View commit details -
Merge pull request #1966 from dtolnay/constraint
Enable GenericArgument::Constraint parsing in non-full mode
Configuration menu - View commit details
-
Copy full SHA for f22e806 - Browse repository at this point
Copy the full SHA f22e806View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3610c34 - Browse repository at this point
Copy the full SHA 3610c34View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 2.0.114...2.0.115