-
Notifications
You must be signed in to change notification settings - Fork 13.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
std::prelude::v1 still references old_path and old_io #23377
Milestone
Comments
Since |
1.0 beta, P-backcompat-libs. ( @alexcrichton says there's a PR in the queue.) |
alexcrichton
added a commit
to alexcrichton/rust
that referenced
this issue
Mar 21, 2015
This commit removes the reexports of `old_io` traits as well as `old_path` types and traits from the prelude. This functionality is now all deprecated and needs to be removed to make way for other functionality like `Seek` in the `std::io` module (currently reexported as `NewSeek` in the io prelude). Closes rust-lang#23377 Closes rust-lang#23378
bors
added a commit
that referenced
this issue
Mar 21, 2015
This commit removes the reexports of `old_io` traits as well as `old_path` types and traits from the prelude. This functionality is now all deprecated and needs to be removed to make way for other functionality like `Seek` in the `std::io` module (currently reexported as `NewSeek` in the io prelude). Closes #23377 Closes #23378
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
std::prelude::v1
is still importing items fromstd::old_path
andstd::old_io
, which are both now deprecated. The prelude should be updated to import the relevant items fromstd::path
andstd::io
instead.std::prelude::v1
is already marked stable, which seems like a mistake given that it contained these old items. We could transition to a newstd::prelude::v2
, but it seems odd to do that before Rust 1.0, so I think we should accept that it was incorrectly stabilized and modifystd::prelude::v1
./cc @alexcrichton
The text was updated successfully, but these errors were encountered: