]> git.proxmox.com Git - rustc.git/blobdiff - src/tools/clippy/tests/ui/cmp_owned/with_suggestion.fixed
New upstream version 1.63.0+dfsg1
[rustc.git] / src / tools / clippy / tests / ui / cmp_owned / with_suggestion.fixed
index 05fb96339e33e9ff561c1e4e5c067170e1e48c58..b28c4378e33c642289cd054be4f1be856d9fbad2 100644 (file)
@@ -45,7 +45,7 @@ impl ToOwned for Foo {
     }
 }
 
-#[derive(PartialEq)]
+#[derive(PartialEq, Eq)]
 struct Bar;
 
 impl PartialEq<Foo> for Bar {
@@ -61,7 +61,7 @@ impl std::borrow::Borrow<Foo> for Bar {
     }
 }
 
-#[derive(PartialEq)]
+#[derive(PartialEq, Eq)]
 struct Baz;
 
 impl ToOwned for Baz {