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?
007d87f added
allow(deprecated)in a few places becausemem::uninitializedis 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?