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

Tracking issue for boxed_slice_try_from #69202

Closed
dtolnay opened this issue Feb 16, 2020 · 0 comments · Fixed by #69538
Closed

Tracking issue for boxed_slice_try_from #69202

dtolnay opened this issue Feb 16, 2020 · 0 comments · Fixed by #69538
Labels
B-unstable Blocker: Implemented in the nightly compiler and unstable. C-tracking-issue Category: An issue tracking the progress of sth. like the implementation of an RFC T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.

Comments

@dtolnay
Copy link
Member

dtolnay commented Feb 16, 2020

impl<T, const N: usize> TryFrom<Box<[T]>> for Box<[T; N]>
where
    [T; N]: LengthAtMost32;

impl<T, const N: usize> TryFrom<Rc<[T]>> for Rc<[T; N]>
where
    [T; N]: LengthAtMost32;

impl<T, const N: usize> TryFrom<Arc<[T]>> for Arc<[T; N]>
where
    [T; N]: LengthAtMost32;

These were added in #61515 with an #[unstable(...)] attribute but without a tracking issue. Since these are trait impls where both the trait and Self type are already stable, they are already callable on a stable compiler and we likely can't make further changes (other than removing the LengthAtMost32 bounds, which can take place after stabilization).

Anyone should feel free to send a "stabilization" PR changing the stability attributes to #[stable(...)].

@dtolnay dtolnay added T-libs-api Relevant to the library API team, which will review and decide on the PR/issue. B-unstable Blocker: Implemented in the nightly compiler and unstable. C-tracking-issue Category: An issue tracking the progress of sth. like the implementation of an RFC labels Feb 16, 2020
Dylan-DPC-zz pushed a commit to Dylan-DPC-zz/rust that referenced this issue Feb 28, 2020
@bors bors closed this as completed in e4cedc9 Feb 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B-unstable Blocker: Implemented in the nightly compiler and unstable. C-tracking-issue Category: An issue tracking the progress of sth. like the implementation of an RFC T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant