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.