Postpone deprecating try! until 1.39.0
This commit is contained in:
parent
fd7ac6b17e
commit
90fa7901b9
2 changed files with 3 additions and 2 deletions
|
|
@ -300,9 +300,9 @@ macro_rules! debug_assert_ne {
|
|||
/// Ok(())
|
||||
/// }
|
||||
/// ```
|
||||
#[rustc_deprecated(since = "1.38.0", reason = "use the `?` operator instead")]
|
||||
#[macro_export]
|
||||
#[stable(feature = "rust1", since = "1.0.0")]
|
||||
#[rustc_deprecated(since = "1.39.0", reason = "use the `?` operator instead")]
|
||||
#[doc(alias = "?")]
|
||||
macro_rules! r#try {
|
||||
($expr:expr) => (match $expr {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue