-
Notifications
You must be signed in to change notification settings - Fork 13k
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_box
#92521
Comments
The non-ZST allocator issue has been resolved and should be removed from the unresolved questions list. |
Thanks for the information. I've removed it. |
I'm sorry for my shallow understanding, but can't |
Aparently it is possible on stable to Deref Was this intentional? |
Currently it cannot. Rust's specialization doesn't yet support const-impl enough, so some rust/library/alloc/src/alloc.rs Lines 424 to 443 in 8c0f83d
This behavior is not caused by this feature. It can be reproduced in pre-1.58.0. It may be due to the compiler's special |
This feature has been mostly removed by #110393, and anyway |
That makes sense for me -- @rust-lang/wg-const-eval what do you think? |
Feature gate:
#![feature(const_box)]
This is a tracking issue for implementing const
Box<T, A>
methods.Public API
Steps / History
Box<T, A>
methods #91884Unresolved Questions
The text was updated successfully, but these errors were encountered: