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
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions lints.rs
Original file line number Diff line number Diff line change
@@ -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.

// do not change or add/remove here, but one can add exceptions after this section
// for more info see: <https://github.com/EmbarkStudios/rust-ecosystem/issues/59>
#![deny(unsafe_code)]
Expand All @@ -9,8 +9,6 @@
clippy::checked_conversions,
clippy::dbg_macro,
clippy::debug_assert_with_mut_call,
clippy::disallowed_method,
clippy::disallowed_type,
clippy::doc_markdown,
clippy::empty_enum,
clippy::enum_glob_use,
Expand Down
4 changes: 1 addition & 3 deletions lints.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[target.'cfg(all())']
rustflags = [
# BEGIN - Embark standard lints v5 for Rust 1.55+
# BEGIN - Embark standard lints v6 for Rust 1.55+
# do not change or add/remove here, but one can add exceptions after this section
# for more info see: <https://github.com/EmbarkStudios/rust-ecosystem/issues/59>
"-Dunsafe_code",
Expand All @@ -12,8 +12,6 @@ rustflags = [
"-Wclippy::checked_conversions",
"-Wclippy::dbg_macro",
"-Wclippy::debug_assert_with_mut_call",
"-Wclippy::disallowed_method",
"-Wclippy::disallowed_type",
"-Wclippy::doc_markdown",
"-Wclippy::empty_enum",
"-Wclippy::enum_glob_use",
Expand Down