about summary refs log tree commit diff
path: root/src/test/debuginfo/enum-thinlto.rs
diff options
context:
space:
mode:
authorTyler Mandry <tmandry@gmail.com>2019-08-02 17:08:16 -0700
committerTyler Mandry <tmandry@gmail.com>2019-08-05 14:57:12 -0700
commit9058bf2100499649a285e49555e42fbe8fa3556d (patch)
tree863024b0f88ff6f9672a8525070fca4ef221879e /src/test/debuginfo/enum-thinlto.rs
parentc43753f910aae000f8bcb0a502407ea332afc74b (diff)
downloadrust-9058bf2100499649a285e49555e42fbe8fa3556d.tar.gz
rust-9058bf2100499649a285e49555e42fbe8fa3556d.zip
Make use of possibly uninitialized data a hard error
This is one of the behaviors we no longer allow in NLL. Since it can
lead to undefined behavior, I think it's definitely worth making it a
hard error without waiting to turn off migration mode (#58781).

Closes #60450.

My ulterior motive here is making it impossible to leave variables
partially initialized across a yield (see discussion at #63035), so
tests are included for that.
Diffstat (limited to 'src/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions