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

Remove renamed warn-by-default lints, v6 lint set #74

Merged
merged 1 commit into from
Feb 25, 2022
Merged

Remove renamed warn-by-default lints, v6 lint set #74

merged 1 commit into from
Feb 25, 2022

Conversation

repi
Copy link
Contributor

@repi repi commented Feb 25, 2022

disallowed_type and disallowed_method has been renamed to plural names in Rust 1.59 and also now are warn-by-default so we do not need to enable them anymore explicitly

Part of #59
Replaces #73

`disallowed_type` and `disallowed_method` has been renamed to plural names in Rust 1.59 and also now are warn-by-default so we do not need to enable them anymore explicitly
@repi repi requested a review from Jake-Shadle February 25, 2022 11:51
@repi repi merged commit dc0b264 into main Feb 25, 2022
@repi repi deleted the lints-v6 branch February 25, 2022 11:53
@repi repi mentioned this pull request Feb 25, 2022
@@ -1,4 +1,4 @@
// BEGIN - Embark standard lints v5 for Rust 1.55+
// BEGIN - Embark standard lints v6 for Rust 1.55+

Choose a reason for hiding this comment

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

Were they default-warn on v1.55 as well?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

no I don't think so, but I didn't want to say that this lint set technically requires 1.59 yet as it doesn't. and it is a bit of a stopgap release until we do v7 that does require 1.59 with new lints.

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