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 const_alloc_error #92523

Open
1 of 3 tasks
lilasta opened this issue Jan 3, 2022 · 0 comments
Open
1 of 3 tasks

Tracking Issue for const_alloc_error #92523

lilasta opened this issue Jan 3, 2022 · 0 comments
Labels
C-tracking-issue Category: A tracking issue for an RFC or an unstable feature. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.

Comments

@lilasta
Copy link
Contributor

lilasta commented Jan 3, 2022

Feature gate: #![feature(const_alloc_error)]

This is a tracking issue for implementing const fn handle_alloc_error. This feature is needed to implement const Box<T, A>.

Public API

// alloc::alloc
pub const fn handle_alloc_error(layout: Layout) -> !;

Steps / History

Unresolved Questions

  • None yet.
@lilasta lilasta added C-tracking-issue Category: A tracking issue for an RFC or an unstable feature. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue. labels Jan 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-tracking-issue Category: A tracking issue for an RFC or an unstable feature. 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

1 participant