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

std::convert::Into<usize> for u16 is not implemented #44290

Closed
mcarton opened this issue Sep 3, 2017 · 2 comments
Closed

std::convert::Into<usize> for u16 is not implemented #44290

mcarton opened this issue Sep 3, 2017 · 2 comments
Labels
C-feature-request Category: A feature request, i.e: not implemented / a PR. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.

Comments

@mcarton
Copy link
Member

mcarton commented Sep 3, 2017

As far as I understand target_pointer_width is at least 16 so <usize as std::convert::From<u8>> and std::convert::Into<usize> for u16 could exist.

@ollie27
Copy link
Member

ollie27 commented Sep 3, 2017

This has been proposed before: #29220 #37423. I believe this is one of the many things blocked by #41619.

@aidanhs aidanhs added A-impl-trait Area: impl Trait. Universally / existentially quantified anonymous types with static dispatch. C-feature-request Category: A feature request, i.e: not implemented / a PR. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue. labels Sep 7, 2017
@dtolnay dtolnay removed the A-impl-trait Area: impl Trait. Universally / existentially quantified anonymous types with static dispatch. label Nov 19, 2017
@clarfonthey
Copy link
Contributor

This has been fixed.

@sfackler sfackler closed this as completed May 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-feature-request Category: A feature request, i.e: not implemented / a PR. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

6 participants