Skip to content

Commit 37aee97

Browse files
committed
core: Mark more mods as demoded
1 parent ee7fa19 commit 37aee97

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

src/libcore/send_map.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ Sendable hash maps. Very much a work in progress.
44
55
*/
66

7+
// NB: transitionary, de-mode-ing.
8+
#[forbid(deprecated_mode)];
9+
#[forbid(deprecated_pattern)];
10+
711
use cmp::Eq;
812
use hash::Hash;
913
use to_bytes::IterBytes;

src/libcore/uniq.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
//! Operations on unique pointer types
22
3+
// NB: transitionary, de-mode-ing.
4+
#[forbid(deprecated_mode)];
5+
#[forbid(deprecated_pattern)];
6+
37
use cmp::{Eq, Ord};
48

59
impl<T:Eq> ~const T : Eq {

src/libcore/unit.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ Functions for the unit type.
44
55
*/
66

7+
// NB: transitionary, de-mode-ing.
8+
#[forbid(deprecated_mode)];
9+
#[forbid(deprecated_pattern)];
10+
711
use cmp::{Eq, Ord};
812

913
impl () : Eq {

0 commit comments

Comments
 (0)