Skip to content

might_permit_raw_init: also check aggregate fields#71274

Merged
bors merged 2 commits intorust-lang:masterfrom
RalfJung:raw-init-check-aggregate
Sep 27, 2020
Merged

might_permit_raw_init: also check aggregate fields#71274
bors merged 2 commits intorust-lang:masterfrom
RalfJung:raw-init-check-aggregate

Conversation

@RalfJung
Copy link
Member

@RalfJung RalfJung commented Apr 18, 2020

This is the next step for #66151: when doing mem::zeroed/mem::uninitialized, also recursively check fields of aggregates (except for arrays) for whether they permit zero/uninit initialization.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

disposition-merge This issue / PR is in PFCP or FCP with a disposition to merge it. finished-final-comment-period The final comment period is finished for this PR / Issue. merged-by-bors This PR was explicitly merged by bors. relnotes Marks issues that should be documented in the release notes of the next release. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-lang Relevant to the language team

Projects

None yet

Development

Successfully merging this pull request may close these issues.