-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Update MSRV to 1.85 and toolchain to 1.87 #18126
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
Conversation
| enum SourceTextKind { | ||
| Text(String), | ||
| Notebook(Notebook), | ||
| Notebook(Box<Notebook>), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Notebooks are massive and clippy complaint that the enum variants where significantly different in size (24 vs > 500)
|
|
sharkdp
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you.
| /// Note that this does not specialize generic classes, functions, or type aliases! That is a | ||
| /// different operation that is performed explicitly (via a subscript operation), or implicitly | ||
| /// via a call to the generic object. | ||
| #[must_use] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why was this removed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Clippy told me that #[must_use] on traits are useless :(
Summary
This PR updates the MSRV to 1.85 (according to our versioning policy) and the development Rust version to 1.87 (latest).
This PR does not switch to the Rust 2024 edition. I think it's better if we do this in a separate PR
Test Plan
cargo test