Skip to content
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

Consider whether `?` should switch from `From::from` to `Into::into` for Rust 2018 #49531

Open
scottmcm opened this Issue Mar 31, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@scottmcm
Copy link
Member

scottmcm commented Mar 31, 2018

Using into instead allows for more conversions to be defined, since it has different coherence rules, which all else being equal would be good. But because of that, there are (per the IRLO thread) some uses that are inferable today with from but not into.

@varkor

This comment has been minimized.

Copy link
Member

varkor commented Dec 21, 2018

Rust 2018 has since been released, so I imagine this issue can now be closed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.