]> 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 5e536cc51d28e722a7a5a2b41f186ba39fc48bee..b92da4511b48d03ee50bc6a91d23ac40aef285e3 100644 (file)
@@ -1,10 +1,12 @@
 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 partialeq-ne-impl` implied by `-D warnings`
+   = note: `-D clippy::partialeq-ne-impl` implied by `-D warnings`
 
 error: aborting due to previous error