Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upstd: Revert addition of `into_ascii_*` methods #32314
Conversation
rust-highfive
assigned
brson
Mar 17, 2016
This comment has been minimized.
This comment has been minimized.
|
r? @brson (rust_highfive has picked a reviewer for you, use r? to override) |
This comment has been minimized.
This comment has been minimized.
|
Nominating for beta inclusion as well to fix the inference regression caused by using the stable methods. |
alexcrichton
added
beta-nominated
T-libs
labels
Mar 17, 2016
This comment has been minimized.
This comment has been minimized.
|
r? @aturon |
rust-highfive
assigned
aturon
and unassigned
brson
Mar 17, 2016
alexcrichton
referenced this pull request
Mar 17, 2016
Closed
Regression in autoderef on ascii traits #32074
This comment has been minimized.
This comment has been minimized.
|
Can you run crater on this change? I see some hits on github code search... |
This comment has been minimized.
This comment has been minimized.
|
Crater reports one regression which seems to be spurious? |
This comment has been minimized.
This comment has been minimized.
|
@bors: r+ |
This comment has been minimized.
This comment has been minimized.
|
|
This comment has been minimized.
This comment has been minimized.
|
@alexcrichton Would it make sense to have a regression test for #32074? |
This comment has been minimized.
This comment has been minimized.
bors
added a commit
that referenced
this pull request
Mar 19, 2016
This comment has been minimized.
This comment has been minimized.
|
@eddyb good point, I'll add that if this bounces or in another PR if it lands |
This comment has been minimized.
This comment has been minimized.
bors
merged commit af65d81
into
rust-lang:master
Mar 19, 2016
aturon
referenced this pull request
Mar 21, 2016
Closed
Tracking issue for make_ascii_{upper,lower}case #27809
alexcrichton
added
the
beta-accepted
label
Mar 24, 2016
alexcrichton
referenced this pull request
Mar 24, 2016
Merged
backport: Revert addition of `into_ascii_*` methods #32467
alexcrichton
deleted the
alexcrichton:ascii-fun
branch
Mar 27, 2016
alexcrichton
removed
the
beta-nominated
label
Mar 30, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
alexcrichton commentedMar 17, 2016
The addition of these methods in #31335 required adding impls of the trait for
the
StringandVec<T>types. This unfortunately caused a regression (#32074)in type inference for using these methods which the libs team has decided to not
push forward with. These methods were stabilized in #32020 which was intended to
get backported to beta, but the backport hasn't happened just yet. This commit
reverts both the addition and stabilization of these methods.
One proposed method of handling this, in #32076, was to move the methods to an
extra trait to avoid conflicts with type inference. After some discussion,
however, the libs team concluded that we probably want to reevaluate what we're
doing here, so discussion will continue on the tracking issue, #27809.
Closes #32074