Skip to content

Commit

Permalink
Auto merge of #127042 - GrigorenkoPV:derivative, r=compiler-errors
Browse files Browse the repository at this point in the history
Switch from `derivative` to `derive-where`

This is a part of the effort to get rid of `syn 1.*` in compiler's dependencies: #109302

Derivative has not been maintained in nearly 3 years[^1]. It also depends on `syn 1.*`.

This PR replaces `derivative` with `derive-where`[^2], a not dead alternative, which uses `syn 2.*`.

A couple of `Debug` formats have changed around the skipped fields[^3], but I doubt this is an issue.

[^1]: mcarton/rust-derivative#117
[^2]: https://lib.rs/crates/derive-where
[^3]: See the changes in `tests/ui`
  • Loading branch information
bors committed Jul 25, 2024
2 parents 8eba696 + 886248d commit d401839
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit d401839

Please sign in to comment.