rust-lang/rust — pull request #16433 by aturon (2014-08-12 00:58:42+00:00)
Title: Enable deprecation lint on crate-local items

Previously the stability lint considered cross-crate items only. That's appropriate for unstable and experimental levels, but not for deprecation.

In addition to changing the lint, this PR takes care of the fallout: a number of deprecated items that were being used throughout libstd.

Closes #16409

Due to deny(deprecation), this is a:

[breaking-change]