-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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: Clean out #[deprecated] APIs #23873
Conversation
r? @aturon |
(rust_highfive has picked a reviewer for you, use r? to override) |
5d3514c
to
11bfd8d
Compare
#[unstable(feature = "collections", | ||
reason = "will be replaced by slice syntax")] | ||
#[deprecated(since = "1.0.0", reason = "use &mut s[..] instead")] | ||
pub fn as_mut_slice(&mut self) -> &mut [T] { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
May as well leave this around, it's coming back :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Re-added
a91c151
to
2b5450d
Compare
r=me after a rebase. Thanks for tirelessly doing these! Spring cleaning :) |
This commit cleans out a large amount of deprecated APIs from the standard library and some of the facade crates as well, updating all users in the compiler and in tests as it goes along.
2b5450d
to
a40f309
Compare
Conflicts: src/libcollectionstest/fmt.rs src/libcollectionstest/lib.rs src/libcollectionstest/str.rs src/libcore/error.rs src/libstd/fs.rs src/libstd/io/cursor.rs src/libstd/os.rs src/libstd/process.rs src/libtest/lib.rs src/test/run-pass-fulldeps/compiler-calls.rs
☔ The latest upstream changes (presumably #23936) made this pull request unmergeable. Please resolve the merge conflicts. |
Merged in #23936 |
This commit cleans out a large amount of deprecated APIs from the standard
library and some of the facade crates as well, updating all users in the
compiler and in tests as it goes along.