You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I did some investigation on the playground and it seems that the reason r#try! isn't deprecated yet is because macro_rules! cannot be deprecated at all. cc @petrochenkov
Deprecation and stability checking is actually done after macro expansion
It can work at any point if name resolution results are available.
Stability checking is already implemented for macros and deprecation checking can be done by analogy.
Activity
Centril commentedon May 21, 2019
I did some investigation on the playground and it seems that the reason
r#try!isn't deprecated yet is becausemacro_rules!cannot be deprecated at all. cc @petrochenkovpetrochenkov commentedon May 21, 2019
The issue is #49912, someone (not me) needs to do the work.
petrochenkov commentedon May 21, 2019
It can work at any point if name resolution results are available.
Stability checking is already implemented for macros and deprecation checking can be done by analogy.
Rollup merge of rust-lang#62042 - petrochenkov:macstab, r=matthewjasper
Rollup merge of rust-lang#62042 - petrochenkov:macstab, r=matthewjasper
tesuji commentedon Jul 14, 2019
I take this in #62672 .
Rollup merge of rust-lang#62672 - lzutao:deprecated-try-macro, r=Centril