From 360c9043cb3a647ec4858769d51f71be05ba24c8 Mon Sep 17 00:00:00 2001 From: Johannes Altmanninger Date: Wed, 6 Dec 2023 18:36:13 +0100 Subject: [PATCH] Disable unstable_name_collisions warning We rarely attach trait methods to stdlib types so this warning is unlikely to be a true positive It is a false positive for the methods defined in future.rs. It's not always obvious which method is selected when it's available in the stdlib but I haven't seen a build failure yet. So let's disable the warning. In future we might be able suppress it per method, see Rust issue 48919. --- fish-rust/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/fish-rust/src/lib.rs b/fish-rust/src/lib.rs index 6fd3957c8..0b4e3293f 100644 --- a/fish-rust/src/lib.rs +++ b/fish-rust/src/lib.rs @@ -1,6 +1,7 @@ #![allow(non_camel_case_types)] #![allow(dead_code)] #![allow(non_upper_case_globals)] +#![allow(unstable_name_collisions)] #![allow(clippy::bool_assert_comparison)] #![allow(clippy::box_default)] #![allow(clippy::collapsible_if)]