9 ms·
> Maybe it would be called #[expect(deprecated)] Both this and the reply saying you should open an RFC worry me that it was tongue-in-cheek. Or maybe it's the
by eddyb 4y ago
> Maybe it would be called #[expect(deprecated)]
Both this and the reply saying you should open an RFC worry me that it was tongue-in-cheek.
Or maybe it's the obvious name choice, heh, because it literally exists with that very syntax: https://play.rust-lang.org/?version=nightly&mode=debug&edition=2021&gist=73ff14fdc958b0f61796ccfa8d8eefbd https://play.rust-lang.org/?version=nightly&mode=debug&editi...
Not stable yet, as you can see, but all the RFC and implementation work has been done, and a stabilization report was even put forward back in July: https://github.com/rust-lang/rust/issues/54503#issuecomment-1179563964 https://github.com/rust-lang/rust/issues/54503#issuecomment-...
- TakeBlaster16 4y agoThat's hilarious, I had no idea! I'm glad I didn't embarrass myself by proposing an RFC. Thanks for the links!