Skip to content

Commit ee426f1

Browse files
committed
core: Mark three more trivial mods as demoded
1 parent 1b5efaa commit ee426f1

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

src/libcore/cleanup.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
#[doc(hidden)];
22

3+
// NB: transitionary, de-mode-ing.
4+
#[forbid(deprecated_mode)];
5+
#[forbid(deprecated_pattern)];
6+
37
use libc::{c_char, c_void, intptr_t, uintptr_t};
48
use ptr::{mut_null, null, to_unsafe_ptr};
59
use repr::BoxRepr;

src/libcore/from_str.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
//! The trait for types that can be created from strings
22
3+
// NB: transitionary, de-mode-ing.
4+
#[forbid(deprecated_mode)];
5+
#[forbid(deprecated_pattern)];
6+
37
use option::Option;
48

59
trait FromStr {

src/libcore/logging.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
//! Logging
22
3+
// NB: transitionary, de-mode-ing.
4+
#[forbid(deprecated_mode)];
5+
#[forbid(deprecated_pattern)];
6+
37
export console_on, console_off;
48

59
#[nolink]

0 commit comments

Comments
 (0)