Static rustc_lint::builtin::DEPRECATED_IN_FUTURE

source ·
pub static DEPRECATED_IN_FUTURE: &'static Lint
Expand description

The deprecated_in_future lint is internal to rustc and should not be used by user code.

This lint is only enabled in the standard library. It works with the use of #[deprecated] with a since field of a version in the future. This allows something to be marked as deprecated in a future version, and then this lint will ensure that the item is no longer used in the standard library. See the stability documentation for more details.