about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2012-09-25 12:04:02 -0700
committerBrian Anderson <banderson@mozilla.com>2012-09-25 12:18:52 -0700
commit37aee97e4b22c58ed2c7898d666c62fb27646851 (patch)
tree205663117c2557fae0503f61b60e70817bec6a6b
parentee7fa194faa0b8140a07a19afc44703916659950 (diff)
downloadrust-37aee97e4b22c58ed2c7898d666c62fb27646851.tar.gz
rust-37aee97e4b22c58ed2c7898d666c62fb27646851.zip
core: Mark more mods as demoded
-rw-r--r--src/libcore/send_map.rs4
-rw-r--r--src/libcore/uniq.rs4
-rw-r--r--src/libcore/unit.rs4
3 files changed, 12 insertions, 0 deletions
diff --git a/src/libcore/send_map.rs b/src/libcore/send_map.rs
index 2a010ee4712..53dcff2e315 100644
--- a/src/libcore/send_map.rs
+++ b/src/libcore/send_map.rs
@@ -4,6 +4,10 @@ Sendable hash maps.  Very much a work in progress.
 
 */
 
+// NB: transitionary, de-mode-ing.
+#[forbid(deprecated_mode)];
+#[forbid(deprecated_pattern)];
+
 use cmp::Eq;
 use hash::Hash;
 use to_bytes::IterBytes;
diff --git a/src/libcore/uniq.rs b/src/libcore/uniq.rs
index 1a752ce0e6c..1d5dd8eca87 100644
--- a/src/libcore/uniq.rs
+++ b/src/libcore/uniq.rs
@@ -1,5 +1,9 @@
 //! Operations on unique pointer types
 
+// NB: transitionary, de-mode-ing.
+#[forbid(deprecated_mode)];
+#[forbid(deprecated_pattern)];
+
 use cmp::{Eq, Ord};
 
 impl<T:Eq> ~const T : Eq {
diff --git a/src/libcore/unit.rs b/src/libcore/unit.rs
index 4ccdf12b500..923b0811b3a 100644
--- a/src/libcore/unit.rs
+++ b/src/libcore/unit.rs
@@ -4,6 +4,10 @@ Functions for the unit type.
 
 */
 
+// NB: transitionary, de-mode-ing.
+#[forbid(deprecated_mode)];
+#[forbid(deprecated_pattern)];
+
 use cmp::{Eq, Ord};
 
 impl () : Eq {