I just bumped into this today. I’ve got a Vec<String>, and I’d like to use .contains("static string") instead of having to do something like .iter().any(|v| v == "static_string"). So a big thumbs up for this!
People have asked for this before. It hasn’t happened yet because that’s a breaking change in cases where inference determines the concrete type of T. I agree it’s a bit ridiculous that we can’t use .contains("foo") on a Vec<String>, but yeah. See https://github.com/rust-lang/rust/pull/37761