diff --git a/Cargo.toml b/Cargo.toml index 8ed4833a00..a371f316cb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -40,6 +40,7 @@ semicolon_if_nothing_returned = "warn" type_complexity = "allow" undocumented_unsafe_blocks = "warn" unwrap_or_default = "warn" +needless_lifetimes = "allow" ptr_as_ptr = "warn" ptr_cast_constness = "warn" @@ -80,6 +81,7 @@ semicolon_if_nothing_returned = "warn" type_complexity = "allow" undocumented_unsafe_blocks = "warn" unwrap_or_default = "warn" +needless_lifetimes = "allow" ptr_as_ptr = "warn" ptr_cast_constness = "warn"