Closed
Description
This compiles:
#![forbid(deprecated)]
#[deprecated]
fn foo() {}
fn main() {
foo();
}
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.
Metadata
Metadata
Assignees
Labels
No labels