Skip to content

Bump MSRV to 1.81 #2042

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 12, 2025
Merged

Bump MSRV to 1.81 #2042

merged 2 commits into from
Feb 12, 2025

Conversation

Kobzol
Copy link
Contributor

@Kobzol Kobzol commented Feb 12, 2025

For #2039.

This actually helped me to uncover a Clippy bug 😂 rust-lang/rust-clippy#14201

@lqd
Copy link
Member

lqd commented Feb 12, 2025

The lifetime elision from serde seems unusual and I don’t know what they usually recommend.

@lqd lqd merged commit 9528dd0 into rust-lang:master Feb 12, 2025
11 checks passed
@Kobzol
Copy link
Contributor Author

Kobzol commented Feb 12, 2025

Yeah, it's weird, but Clippy seemed adamant..

@Kobzol Kobzol deleted the bump-msrv branch February 12, 2025 08:16
@lqd
Copy link
Member

lqd commented Feb 12, 2025

Does serde recommend turning that lint off on these structs? Or have they switched to this new elision scheme by now?

@y21
Copy link
Member

y21 commented Feb 12, 2025

The lifetime elision from serde seems unusual and I don’t know what they usually recommend.

FWIW there's a clippy PR that splits needless_lifetime into two lints in rust-lang/rust-clippy#13960, where the behavior of suggesting changing named lifetimes to '_ (like here) will instead be part of an allow-by-default lint.

@s7tya s7tya mentioned this pull request Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants