-
Notifications
You must be signed in to change notification settings - Fork 13k
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
Revert deprecation of IpAddr, stabilizing for 1.7 #31438
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This was referenced Feb 6, 2016
r=me, but looks like the build failure on travis is legit (needs a stability attribute for the fields of the enum variants) |
alexcrichton
added
beta-nominated
Nominated for backporting to the compiler in the beta channel.
relnotes
Marks issues that should be documented in the release notes of the next release.
labels
Feb 6, 2016
After [considerable pushback](rust-lang/rfcs#1451), it's clear that there is a community consensus around providing `IpAddr` in the standard library, together with other APIs using it. This commit reverts from deprecated status directly to stable. The deprecation landed in 1.6, which has already been released, so the stabilization is marked for 1.7 (currently in beta; will require a backport).
@bors: r=alexcrichton |
📌 Commit 2067c57 has been approved by |
bors
added a commit
that referenced
this pull request
Feb 10, 2016
After [considerable pushback](rust-lang/rfcs#1451), it's clear that there is a community consensus around providing `IpAddr` in the standard library, together with other APIs using it. This commit reverts from deprecated status directly to stable. The deprecation landed in 1.6, which has already been released, so the stabilization is marked for 1.7 (currently in beta; will require a backport). r? @alexcrichton
alexcrichton
added
the
T-libs-api
Relevant to the library API team, which will review and decide on the PR/issue.
label
Feb 10, 2016
Accepting for a beta backport (discussed at libs triage today) |
alexcrichton
added
the
beta-accepted
Accepted for backporting to the compiler in the beta channel.
label
Feb 11, 2016
brson
removed
the
beta-nominated
Nominated for backporting to the compiler in the beta channel.
label
Feb 11, 2016
bors bot
added a commit
to nix-rust/nix
that referenced
this pull request
Apr 11, 2019
1043: Uncomment to_std and from_std methods for IpAddr r=asomers a=rabbott99 These were commented out in 2b60633, apparently because `std::net::IpAddr` had been removed from the standard library. However, `IpAddr` has since been re-added to the standard library (rust-lang/rust#23711) and stabilized (rust-lang/rust#31438), so it seems there is no reason to keep them commented out. Co-authored-by: rabbott99 <rabbott4927@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
beta-accepted
Accepted for backporting to the compiler in the beta channel.
relnotes
Marks issues that should be documented in the release notes of the next release.
T-libs-api
Relevant to the library API team, which will review and decide on the PR/issue.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
After considerable pushback, it's clear that there is a community consensus around providing
IpAddr
in the standard library, together with other APIs using it.This commit reverts from deprecated status directly to stable. The deprecation landed in 1.6, which has already been released, so the stabilization is marked for 1.7 (currently in beta; will require a backport).
r? @alexcrichton