]> git.lizzy.rs Git - rust.git/blobdiff - src/lintlist/mod.rs
fixup! New lint: Recommend using `ptr::eq` when possible
[rust.git] / src / lintlist / mod.rs
index 0dba5a71c502d9cb23603a2a9922348d914b1d02..3cba9867600d6293c1caa4fe90b6abd54ab6afac 100644 (file)
         deprecation: None,
         module: "ptr",
     },
+    Lint {
+        name: "ptr_eq",
+        group: "style",
+        desc: "use `std::ptr::eq` when comparing raw pointers",
+        deprecation: None,
+        module: "ptr_eq",
+    },
     Lint {
         name: "ptr_offset_with_cast",
         group: "complexity",