3 ms·
Last month they introduced rules that one should mark breaking changes in the git log and that removed functions should have a clearer fail message. At least I
by Excavator 12y ago
Last month they introduced rules that one should mark breaking changes in the git log and that removed functions should have a clearer fail message. At least I think that's what #[deprecated] does?
https://mail.mozilla.org/pipermail/rust-dev/2014-April/009543.html https://mail.mozilla.org/pipermail/rust-dev/2014-April/00954...
- dbaupp 12y agoYes, #[deprecated="some text"] causes the compiler to emit a warning message (that includes the specified text) whenever, for example, a function marked with it is called.