about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-12-02 22:22:12 +0000
committerbors <bors@rust-lang.org>2018-12-02 22:22:12 +0000
commitb817d0b65156ab2b7c903ecce7ad16033961344e (patch)
treed25fd24f39435d8d6fc1eb246b3698436705dc1a /src/libstd/sys/unix/stack_overflow.rs
parent21f26849506c141a6760532ca5bdfd8345247fdb (diff)
parent1cdf5df4517eabc4e4db86fc4b67a4fa984d3800 (diff)
downloadrust-b817d0b65156ab2b7c903ecce7ad16033961344e.tar.gz
rust-b817d0b65156ab2b7c903ecce7ad16033961344e.zip
Auto merge of #56110 - varkor:inhabitedness-union-enum, r=cramertj
Consider references and unions potentially inhabited during privacy-respecting inhabitedness checks

It isn't settled exactly how references to uninhabited types and unions of uninhabited types should act, but we should be more conservative here, as it's likely it will be permitted to soundly have values of such types.

This will also be more important in light of the changes at https://github.com/rust-lang/rust/pull/54125.

cc @RalfJung
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions