diff options
| author | Simonas Kazlauskas <git@kazlauskas.me> | 2020-12-31 18:02:52 +0200 |
|---|---|---|
| committer | Simonas Kazlauskas <git@kazlauskas.me> | 2021-01-30 00:49:10 +0200 |
| commit | 915a04e2a401919d8b0e152331c839df471577b7 (patch) | |
| tree | caadb43d4c23a8c1bc44cba18f3e3aa41b5fd79d /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs | |
| parent | b122908617436af187252572ed5db96850551380 (diff) | |
| download | rust-915a04e2a401919d8b0e152331c839df471577b7.tar.gz rust-915a04e2a401919d8b0e152331c839df471577b7.zip | |
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
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs')
0 files changed, 0 insertions, 0 deletions
