Skip to content
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

Replace deprecated lint and add msrv in clippy.toml #33

Merged
merged 1 commit into from Aug 19, 2021
Merged

Replace deprecated lint and add msrv in clippy.toml #33

merged 1 commit into from Aug 19, 2021

Conversation

ghost
Copy link

@ghost ghost commented Aug 5, 2021

Checklist

  • I have read the Contributor Guide
  • I have read and agree to the Code of Conduct
  • I have added a description of my changes and why I'd like them included in the section below

Description of Changes

Remove a deprecated option and add msrv to clippy.toml to help developer not see breaking Clippy change.

@ghost ghost requested a review from Jake-Shadle as a code owner August 5, 2021 19:28
@@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: "1.52.0"
toolchain: stable
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wait but why are you changing this? I think pinning on 1.52 is useful for e.g. #31

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I could revert it, but I will have to re add the deprecated lints. Would it be more efficient to test compilation to rust 1.52 than forcing Clippy to be at 1.52 since Clippy as an option for msrv?

Copy link
Member

@Jake-Shadle Jake-Shadle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR! I think the clippy msrv is fine since clippy is the only thing that has "breaking" changes between rust versions.

@Jake-Shadle Jake-Shadle merged commit 8963266 into EmbarkStudios:main Aug 19, 2021
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.

2 participants