about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAaron Turon <aturon@mozilla.com>2014-10-14 13:36:19 -0700
committerAaron Turon <aturon@mozilla.com>2014-10-14 15:23:09 -0700
commitd6eb7197292c26853f9dd461e6732f636f433f48 (patch)
treea0cddb8601571138065b59a2ab330ad836f377d8
parentaabb6e72c1401874659dad3fff387f25d85e49d6 (diff)
downloadrust-d6eb7197292c26853f9dd461e6732f636f433f48.tar.gz
rust-d6eb7197292c26853f9dd461e6732f636f433f48.zip
rustc: Add missing lint registration
The pluggable lint changes apparently dropped the fat pointer transmute
lint by accident.

This commit registers the lint.
-rw-r--r--src/librustc/lint/builtin.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/librustc/lint/builtin.rs b/src/librustc/lint/builtin.rs
index 63c8f9d9d7c..fc62f44493e 100644
--- a/src/librustc/lint/builtin.rs
+++ b/src/librustc/lint/builtin.rs
@@ -1623,7 +1623,8 @@ impl LintPass for HardwiredLints {
             WARNINGS,
             UNKNOWN_FEATURES,
             UNKNOWN_CRATE_TYPES,
-            VARIANT_SIZE_DIFFERENCES
+            VARIANT_SIZE_DIFFERENCES,
+            FAT_PTR_TRANSMUTES
         )
     }
 }