]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/partialeq_ne_impl.stderr
Auto merge of #4478 - tsurai:master, r=flip1995
[rust.git] / tests / ui / partialeq_ne_impl.stderr
index 773bed8fd8e22f6810fcbb02ce728980b374e0ac..b92da4511b48d03ee50bc6a91d23ac40aef285e3 100644 (file)
@@ -1,8 +1,10 @@
 error: re-implementing `PartialEq::ne` is unnecessary
-  --> $DIR/partialeq_ne_impl.rs:10:5
+  --> $DIR/partialeq_ne_impl.rs:9:5
    |
-10 |     fn ne(&self, _: &Foo) -> bool { false }
-   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+LL | /     fn ne(&self, _: &Foo) -> bool {
+LL | |         false
+LL | |     }
+   | |_____^
    |
    = note: `-D clippy::partialeq-ne-impl` implied by `-D warnings`