]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #54941 - pnkfelix:issue-21232-reject-partial-reinit, r=nikomatsakis
authorbors <bors@rust-lang.org>
Wed, 17 Oct 2018 09:13:51 +0000 (09:13 +0000)
committerbors <bors@rust-lang.org>
Wed, 17 Oct 2018 09:13:51 +0000 (09:13 +0000)
reject partial init and reinit of uninitialized data

Reject partial initialization of uninitialized structured types (i.e. structs and tuples) and also reject partial *reinitialization* of such types.

Fix #54986

Fix #54499

cc #21232

1  2 
src/librustc/mir/mod.rs

Simple merge