mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-28 11:17:26 +03:00
625bd5539e
Closes rust-lang/rust-clippy#16448 Closes rust-lang/rust-clippy#16564 The previous implementation hardcoded bans on `str` to avoid adding `*` when comparing with `String`, which becomes a problem for `Pathbuf` as `PartialEq<&str>` is not yet implemented on it. changelog: [`cmp_owned`] fix wrong suggestions on `PathBuf`