-
Notifications
You must be signed in to change notification settings - Fork 108
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
Bump to Rust 1.84 #2001
Bump to Rust 1.84 #2001
Conversation
ee088e3
to
f2a4169
Compare
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.
Please don't include unrelated changes in PRs like this. As a reviewer, I don't want to sort through what changed as a result of bumping to the new Rust version versus what drive-by fixes you made. If you feel that the unrelated changes are worthwhile (all of them look good to me), please open a separate PR. I would approve "reformat doc comments to correctly indent multi-line list items" in a heartbeat, for example.
All the changes are fixing warnings that were added sometime in the past 4 versions. That's one of the benefits of keeping up to date with stable rust; less churn in updating wrt rustc/clippy warnings (perhaps we could run CI clippy on latest stable?). The doc-comment formatting changes are all related to a new lint complaining about lists not being indented correctly, and all the cfg-related changes are related to the new check-cfgs lint, that makes sure you don't accidentally typo to e.g. a feature that doesn't exist (as in a couple cases here). And yes, rustc's unused-detection was improved, I think to check for when something declared |
Running Clippy on latest stable seems eminently reasonable. Updating our MSRV every month does not. It is very much the point of a Minimum Supported Rust Version that it should be the lowest possible version.
In the future, please add this level of commentary to the PR description before requesting review. |
Fair enough; I think I figured it was self-explanatory but obviously it wasn't. |
f2a4169
to
ca19947
Compare
8ce78b1
to
c33ea94
Compare
c33ea94
to
469d1d6
Compare
30d9c33
to
a2063e8
Compare
a2063e8
to
6d6c48e
Compare
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.
Approving the changes in my code-owned files (crates/cli/src/config.rs
and crates/cli/src/errors.rs
)
6d6c48e
to
6ae4c7b
Compare
e73ffb1
to
7bf0a0a
Compare
aea493e
to
c2c12cd
Compare
46d5dd6
to
5c1479b
Compare
5c1479b
to
0ca834c
Compare
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.
I am approving the changes to the files I am an owner of. I echo Phoebe's suggestion about adding commentary in the PR description in the future.
Description of Changes
This was discussed as something we wanted to do before the 1.0 release.
Expected complexity level and risk
1
cc @clockworklabs/devops