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 using ManuallyDrop #2

Closed
SoniEx2 opened this issue Apr 21, 2023 · 1 comment
Closed

Consider using ManuallyDrop #2

SoniEx2 opened this issue Apr 21, 2023 · 1 comment

Comments

@SoniEx2
Copy link

SoniEx2 commented Apr 21, 2023

As an experiment, consider using ManuallyDrop instead of relying purely on [T; 0]. Something like ManuallyDrop<[T; 0]> should work. See also the discussion in rust-lang/rust#110288

@jyn514
Copy link
Owner

jyn514 commented Oct 19, 2023

that fcp was closed as explicitly not wanting to add a dropck requirement rust-lang/rust#110288 (comment)

@jyn514 jyn514 closed this as not planned Won't fix, can't repro, duplicate, stale Oct 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants