diff --git a/.clippy.toml b/.clippy.toml index 27a1e091..d842e407 100644 --- a/.clippy.toml +++ b/.clippy.toml @@ -1,6 +1,7 @@ # Clippy configuration # https://doc.rust-lang.org/nightly/clippy/lint_configuration.html +allow-private-module-inception = true avoid-breaking-exported-api = false disallowed-names = [] disallowed-macros = [ @@ -10,4 +11,5 @@ disallowed-methods = [ { path = "std::env::remove_var", reason = "this is not thread-safe and inherently unsafe; see for more" }, { path = "std::env::set_var", reason = "this is not thread-safe and inherently unsafe; see for more" }, ] -disallowed-types = [] +disallowed-types = [ +] diff --git a/Cargo.toml b/Cargo.toml index 9175fd4c..7fcd2aa1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -31,12 +31,13 @@ declare_interior_mutable_const = { level = "allow", priority = 1 } # https://git doc_markdown = { level = "allow", priority = 1 } float_cmp = { level = "allow", priority = 1 } # https://github.com/rust-lang/rust-clippy/issues/7725 incompatible_msrv = { level = "allow", priority = 1 } # buggy: doesn't consider cfg, https://github.com/rust-lang/rust-clippy/issues/12280, https://github.com/rust-lang/rust-clippy/issues/12257#issuecomment-2093667187 -lint_groups_priority = { level = "allow", priority = 1 } # https://github.com/rust-lang/rust-clippy/issues/12270 +lint_groups_priority = { level = "allow", priority = 1 } # https://github.com/rust-lang/rust-clippy/issues/12920 manual_assert = { level = "allow", priority = 1 } manual_range_contains = { level = "allow", priority = 1 } # https://github.com/rust-lang/rust-clippy/issues/6455#issuecomment-1225966395 missing_errors_doc = { level = "allow", priority = 1 } -module_name_repetitions = { level = "allow", priority = 1 } +module_name_repetitions = { level = "allow", priority = 1 } # buggy: https://github.com/rust-lang/rust-clippy/issues?q=is%3Aissue+is%3Aopen+module_name_repetitions nonminimal_bool = { level = "allow", priority = 1 } # buggy: https://github.com/rust-lang/rust-clippy/issues?q=is%3Aissue+is%3Aopen+nonminimal_bool +range_plus_one = { level = "allow", priority = 1 } # buggy: https://github.com/rust-lang/rust-clippy/issues?q=is%3Aissue+is%3Aopen+range_plus_one similar_names = { level = "allow", priority = 1 } single_match = { level = "allow", priority = 1 } single_match_else = { level = "allow", priority = 1 }