4 ms·
> I do wonder if there's some way to hide parts of the standard library with the Rust "edition" mechanism. It'll stay there, technically, for backwards compatib
by Ar-Curunir 6y ago
> I do wonder if there's some way to hide parts of the standard library with the Rust "edition" mechanism. It'll stay there, technically, for backwards compatibility, but any one who opts in to the new edition wouldn't see deprecated stuff exported from the std prelude.
Maybe in the future one could introduce pub(< ed2018) to indicate that an item is available only before edition 2018
- steveklabnik 6y agoThis has been discussed, but it's got pros and cons, and is semi-controversial. We'll see.
- Ar-Curunir 6y agoRight, that’s what folks said the last time I asked about it. That’s why I put a maybe there :P