about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorRyan1729 <Ryan1729@gmail.com>2020-08-02 18:41:50 -0600
committerRyan1729 <Ryan1729@gmail.com>2020-08-06 04:24:24 -0600
commit5e84b8c2fb48ed864347296cafa3119ac094873f (patch)
tree51edd90178f65fbb327a0c85defa8c7ae09fcf31 /src
parent24a6130da21ee4c5f0c57ed2e5257b110a7466ce (diff)
downloadrust-5e84b8c2fb48ed864347296cafa3119ac094873f.tar.gz
rust-5e84b8c2fb48ed864347296cafa3119ac094873f.zip
run cargo dev new_lint then move transmutes_expressible_as_ptr_casts into transmute module
Diffstat (limited to 'src')
-rw-r--r--src/lintlist/mod.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lintlist/mod.rs b/src/lintlist/mod.rs
index 1879aae77fb..9363039041d 100644
--- a/src/lintlist/mod.rs
+++ b/src/lintlist/mod.rs
@@ -2216,6 +2216,13 @@ pub static ref ALL_LINTS: Vec<Lint> = vec![
         module: "transmute",
     },
     Lint {
+        name: "transmutes_expressible_as_ptr_casts",
+        group: "complexity",
+        desc: "default lint description",
+        deprecation: None,
+        module: "transmute",
+    },
+    Lint {
         name: "transmuting_null",
         group: "correctness",
         desc: "transmutes from a null pointer to a reference, which is undefined behavior",