core: Mark three more trivial mods as demoded
This commit is contained in:
parent
1b5efaac27
commit
ee426f177b
3 changed files with 12 additions and 0 deletions
|
@ -1,5 +1,9 @@
|
||||||
#[doc(hidden)];
|
#[doc(hidden)];
|
||||||
|
|
||||||
|
// NB: transitionary, de-mode-ing.
|
||||||
|
#[forbid(deprecated_mode)];
|
||||||
|
#[forbid(deprecated_pattern)];
|
||||||
|
|
||||||
use libc::{c_char, c_void, intptr_t, uintptr_t};
|
use libc::{c_char, c_void, intptr_t, uintptr_t};
|
||||||
use ptr::{mut_null, null, to_unsafe_ptr};
|
use ptr::{mut_null, null, to_unsafe_ptr};
|
||||||
use repr::BoxRepr;
|
use repr::BoxRepr;
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
//! The trait for types that can be created from strings
|
//! The trait for types that can be created from strings
|
||||||
|
|
||||||
|
// NB: transitionary, de-mode-ing.
|
||||||
|
#[forbid(deprecated_mode)];
|
||||||
|
#[forbid(deprecated_pattern)];
|
||||||
|
|
||||||
use option::Option;
|
use option::Option;
|
||||||
|
|
||||||
trait FromStr {
|
trait FromStr {
|
||||||
|
|
|
@ -1,5 +1,9 @@
|
||||||
//! Logging
|
//! Logging
|
||||||
|
|
||||||
|
// NB: transitionary, de-mode-ing.
|
||||||
|
#[forbid(deprecated_mode)];
|
||||||
|
#[forbid(deprecated_pattern)];
|
||||||
|
|
||||||
export console_on, console_off;
|
export console_on, console_off;
|
||||||
|
|
||||||
#[nolink]
|
#[nolink]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue