Uh oh!
There was an error while loading. Please reload this page.
as_deref() and as_deref_mut() impls - #59628
Conversation
rust-highfive
commented
Apr 2, 2019
r? @Kimundi (rust_highfive has picked a reviewer for you, use r? to override) |
joshtriplett
commented
Apr 2, 2019
LGTM, though I'm not a libs reviewer. |
Kimundi
commented
Apr 4, 2019
@bors: r+ Seems like a sensible change, based on the discussion so far. |
bors
commented
Apr 4, 2019
📌 Commit e71e71b has been approved by |
`as_deref()` and `as_deref_mut()` impls addresses rust-lang#50264 renamed `deref()` -> `as_deref()` added `deref_mut()` impls + tests fixed breaking changes
Centril
commented
Apr 4, 2019
@bors r- Failed in #59692 (comment) due to miri toolstate. |
RalfJung
commented
Apr 4, 2019
Looks like the old Or land this separately from a Miri update so that breaking Miir is not fatal. |
bors
commented
Apr 12, 2019
☔ The latest upstream changes (presumably #59910) made this pull request unmergeable. Please resolve the merge conflicts. |
Hi, @RalfJung, I'm not fluent with the Rust release process, but can a feature which has never been stable be deprecated? Or are you recommending the method name be reverted from |
RalfJung
commented
Apr 14, 2019
Yes. Just add a |
Centril
commented
Apr 14, 2019
@U007D We can break miri again so you don't need to use |
RalfJung
commented
Apr 14, 2019
Sure, that also works. No idea how widely used this function is. (What happened last time was not about tools not breaking due to beta; it was that this one got rolled up with an "update miri" PR. Changing a tool and breaking it in the same PR leads to CI failure.) |
rust-highfive
commented
Apr 15, 2019
The job Click to expand the log.I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
bors
commented
Apr 18, 2019
☔ The latest upstream changes (presumably #58702) made this pull request unmergeable. Please resolve the merge conflicts. |
Dylan-DPC-zz
commented
Apr 29, 2019
ping from triage @U007D any updates? |
jonas-schievink
commented
Jun 10, 2019
Triage ping @U007D, this needs a few merge conflicts to be resolved |
Dylan-DPC-zz
commented
Jun 24, 2019
ping from triage @U007D |
Introduce `as_deref` to Option This is re-submission for rust-lang#59628. Renames `deref()` to `as_deref()` and adds `deref_mut()` impls and tests. CC rust-lang#50264 r? @Kimundi (I picked you as you're the previous reviewer.)
Introduce `as_deref` to Option This is re-submission for rust-lang#59628. Renames `deref()` to `as_deref()` and adds `deref_mut()` impls and tests. CC rust-lang#50264 r? @Kimundi (I picked you as you're the previous reviewer.)
Introduce `as_deref` to Option This is re-submission for rust-lang#59628. Renames `deref()` to `as_deref()` and adds `deref_mut()` impls and tests. CC rust-lang#50264 r? @Kimundi (I picked you as you're the previous reviewer.)
Introduce `as_deref` to Option This is re-submission for rust-lang#59628. Renames `deref()` to `as_deref()` and adds `deref_mut()` impls and tests. CC rust-lang#50264 r? @Kimundi (I picked you as you're the previous reviewer.)
addresses #50264
renamed
deref()->as_deref()added
deref_mut()impls + testsfixed breaking changes