From 59b1c2f2dc615c84d062f8f838cea30a977f6302 Mon Sep 17 00:00:00 2001 From: Weihang Lo Date: Tue, 12 Sep 2023 12:35:03 +0800 Subject: [PATCH] lint: allow `self_named_module_files` There is a false positive in `src/bin/cargo/commands/build.rs` --- src/bin/cargo/main.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/bin/cargo/main.rs b/src/bin/cargo/main.rs index 3a95ded568f8..934216a98df4 100644 --- a/src/bin/cargo/main.rs +++ b/src/bin/cargo/main.rs @@ -1,3 +1,5 @@ +#![allow(clippy::self_named_module_files)] // false positive in `commands/build.rs` + use cargo::util::network::http::http_handle; use cargo::util::network::http::needs_custom_http_transport; use cargo::util::toml::StringOrVec;