Open
Description
007d87f added allow(deprecated)
in a few places because mem::uninitialized
is still used. Unfortunately, this allows all deprecated items, so by the time someone gets around to fix that, other uses of deprecated items could have crept in.
It would be much better if that could be allow(deprecated(mem::uninitialized))
or so, to only allow the one method without also allowing everything else.
The same applies to deprecated_in_future
.
I think I saw @Mark-Simulacrum ask for this somewhere recently? Or was it someone else?
Metadata
Metadata
Assignees
Labels
Area: Attributes (`#[…]`, `#![…]`)Area: Compiler frontend (errors, parsing and HIR)Area: Lints (warnings about flaws in source code) such as unused_mut.Category: A feature request, i.e: not implemented / a PR.Lint: deprecatedRelevant to the language team, which will review and decide on the PR/issue.This change is large or controversial enough that it should have an RFC accepted before doing it.