-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
impl<T> From<Option<&T>> for *const T #93664
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @kennytm (or someone else) soon. Please see the contribution instructions for more information. |
This comment has been minimized.
This comment has been minimized.
2e060d2
to
c63af39
Compare
Is there anything else I should be doing for this? |
☔ The latest upstream changes (presumably #95581) made this pull request unmergeable. Please resolve the merge conflicts. |
Hi! Apologies for the long delay. I've re-assigned this PR to @joshtriplett since it'll need an FCP to be merged (adding new trait impls). |
r? rust-lang/libs-api |
Reassigning BurntSushi's reviews because based on r? rust-lang/libs-api |
c63af39
to
ae122bd
Compare
This comment has been minimized.
This comment has been minimized.
ae122bd
to
618b6f1
Compare
Looks like the story around @rustbot review |
This comment has been minimized.
This comment has been minimized.
618b6f1
to
d0979a1
Compare
Ah, I sent for review too soon. It should be right now. The failing CI and subsequent fix actually shows this is technically a breaking change:
|
And same for *mut T
d0979a1
to
390adcb
Compare
Closing this as it is a breaking change and the author agrees it is better to close it |
And same for
*mut T
. I wasn't sure whether it was worth defining the trait asconst
for the mut version, considering that's a separate feature for mut refs inconst
. I also considered having the implementation be thetransmute
this optimizes to, but decided against it.This also puts off defining the
impl
forT: ?Sized
since the validity of creating a null*const dyn Trait
is not settled.This is my first contribution to the repo - please let me know if I missed something obvious :)
Zulip thread