about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs
diff options
context:
space:
mode:
authorSimonas Kazlauskas <git@kazlauskas.me>2020-12-31 18:02:52 +0200
committerSimonas Kazlauskas <git@kazlauskas.me>2021-01-30 00:49:10 +0200
commit915a04e2a401919d8b0e152331c839df471577b7 (patch)
treecaadb43d4c23a8c1bc44cba18f3e3aa41b5fd79d /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs
parentb122908617436af187252572ed5db96850551380 (diff)
downloadrust-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