Deprecated attributes don't take 'feature' names and are paired with stable/unstable
Conflicts: src/libcore/atomic.rs src/libcore/finally.rs src/test/auxiliary/inherited_stability.rs src/test/auxiliary/lint_stability.rs
This commit is contained in:
parent
cd6d9eab5d
commit
9758c488a9
39 changed files with 437 additions and 169 deletions
|
|
@ -319,7 +319,8 @@ impl<T: 'static> Key<T> {
|
|||
}
|
||||
|
||||
/// Deprecated
|
||||
#[deprecated(feature = "oldstuff", since = "1.0.0",
|
||||
#[unstable(feature = "std_misc")]
|
||||
#[deprecated(since = "1.0.0",
|
||||
reason = "function renamed to state() and returns more info")]
|
||||
pub fn destroyed(&'static self) -> bool { self.state() == State::Destroyed }
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue