diff options
| author | bors <bors@rust-lang.org> | 2016-10-25 12:37:43 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-10-25 12:37:43 -0700 |
| commit | aef18be1bc4e03617177c5e9df1164ce3df49ba2 (patch) | |
| tree | 07a5992f3609c7392152b34df4126e7d04f524ad /src/libstd/sys/redox/stack_overflow.rs | |
| parent | 67f26f7e0c23b6dcd00f21eae66d7a302cfa17bf (diff) | |
| parent | db032578a436df5974be8bf9404b26d7661008e3 (diff) | |
| download | rust-aef18be1bc4e03617177c5e9df1164ce3df49ba2.tar.gz rust-aef18be1bc4e03617177c5e9df1164ce3df49ba2.zip | |
Auto merge of #37111 - TimNN:sized-enums, r=nikomatsakis
Disallow Unsized Enums Fixes #16812. This PR is a potential fix for #16812, an issue which is reported [again](https://github.com/rust-lang/rust/issues/36801) and [again](https://github.com/rust-lang/rust/issues/36975), with over a dozen duplicates by now. This PR is mainly meant to promoted discussion about the issue and the correct way to fix it. This is a [breaking-change] since the error is now reported during wfchecking, so that even the definition of a (potentially) unsized enum will cause an error (whereas it would previously cause an ICE at trans time if the enum was used in an unsized manner).
Diffstat (limited to 'src/libstd/sys/redox/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
