Skip to content

Commit dc0b264

Browse files
authored
Remove renamed warn-by-default lints, v6 lint set (#74)
`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
1 parent 64cc11e commit dc0b264

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

lints.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// BEGIN - Embark standard lints v5 for Rust 1.55+
1+
// BEGIN - Embark standard lints v6 for Rust 1.55+
22
// do not change or add/remove here, but one can add exceptions after this section
33
// for more info see: <https://github.com/EmbarkStudios/rust-ecosystem/issues/59>
44
#![deny(unsafe_code)]
@@ -9,8 +9,6 @@
99
clippy::checked_conversions,
1010
clippy::dbg_macro,
1111
clippy::debug_assert_with_mut_call,
12-
clippy::disallowed_method,
13-
clippy::disallowed_type,
1412
clippy::doc_markdown,
1513
clippy::empty_enum,
1614
clippy::enum_glob_use,

lints.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

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

0 commit comments

Comments
 (0)