about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/cell.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstd/cell.rs b/src/libstd/cell.rs
index 5310f10cd7a..2325b0e092e 100644
--- a/src/libstd/cell.rs
+++ b/src/libstd/cell.rs
@@ -1,3 +1,5 @@
+#[forbid(deprecated_mode)];
+#[forbid(deprecated_pattern)];
 /// A dynamic, mutable location.
 ///
 /// Similar to a mutable option type, but friendlier.