This compiles:
#![forbid(deprecated)]
#[deprecated]
fn foo() {}
fn main() {
foo();
}
http://is.gd/bQE1W1
More extensive example from @chrismorgan: http://is.gd/eRBKUc
This is annoying because I would love to use it to purge old stuff from my own codebase, rather than deferring it until the removal time, and risking usages creep back in with other PRs.
This compiles:
http://is.gd/bQE1W1
More extensive example from @chrismorgan: http://is.gd/eRBKUc
This is annoying because I would love to use it to purge old stuff from my own codebase, rather than deferring it until the removal time, and risking usages creep back in with other PRs.