about summary refs log tree commit diff
path: root/library/std/src/sys/windows/stack_overflow_uwp.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-05-21 03:48:47 +0000
committerbors <bors@rust-lang.org>2020-05-21 03:48:47 +0000
commit963bf528292d8f97104515e32908e30c2467b6a8 (patch)
treee6f2a5cf24832f59d7a8f86857b23dc95598016c /library/std/src/sys/windows/stack_overflow_uwp.rs
parent82911b3bba76e73afe2881b732fe6b0edb35d5d3 (diff)
parent08b9b97c5374f4a7523cbb189bbe0ab1ed80ed64 (diff)
downloadrust-963bf528292d8f97104515e32908e30c2467b6a8.tar.gz
rust-963bf528292d8f97104515e32908e30c2467b6a8.zip
Auto merge of #70705 - lcnr:generic_discriminant, r=nikomatsakis
Use `T`'s discriminant type in `mem::Discriminant<T>` instead of `u64`.

fixes #70509

Adds the lang-item `discriminant_kind`.
Updates the function signature of `intrinsics::discriminant_value`.
Adds the *probably permanently unstable* trait `DiscriminantKind`.
`mem::Discriminant` should now be smaller in some cases.

r? @ghost
Diffstat (limited to 'library/std/src/sys/windows/stack_overflow_uwp.rs')
0 files changed, 0 insertions, 0 deletions