diff options
| author | Yuki Okushi <huyuumi.dev@gmail.com> | 2021-01-30 13:36:41 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-30 13:36:41 +0900 |
| commit | a5c12ea75f18232eef4721a1a20210f5f2c25b75 (patch) | |
| tree | ece2235b8f05cfdb3c19abaf74aa3df073f7f44d /library/std/src/sys/unix/stack_overflow.rs | |
| parent | ecd7cb1c3ab5d7e7b10f934a561b8a6958bcd1b0 (diff) | |
| parent | 915a04e2a401919d8b0e152331c839df471577b7 (diff) | |
| download | rust-a5c12ea75f18232eef4721a1a20210f5f2c25b75.tar.gz rust-a5c12ea75f18232eef4721a1a20210f5f2c25b75.zip | |
Rollup merge of #80562 - nagisa:nagisa/bools-are-unsigned, r=eddyb
Consider Scalar to be a bool only if its unsigned This seems right, given that conceptually bools are unsigned, but the implications of this change may have more action at distance that I'm not sure how to exhaustively consider. For instance there are a number of cases where code attaches range metadata if `scalar.is_bool()` holds. Supposedly it would no longer be attached to the `repr(i8)` enums? Though I'm not sure why booleans are being special-cased here in the first place... Fixes #80556 cc `@eddyb`
Diffstat (limited to 'library/std/src/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
