diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2020-03-21 05:33:35 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-21 05:33:35 +0100 |
| commit | 937ca434b1478f185a8b1335e395a7ce30ab7ee2 (patch) | |
| tree | 0f86fccc504dfed748bab4fdf522c99b8f3dd112 /src/test/codegen/src-hash-algorithm | |
| parent | 832daf720a34c87d67c9c7b40fda03a1138f314b (diff) | |
| parent | 5930da446562ed51f4a3551cf81525e296bc8665 (diff) | |
| download | rust-937ca434b1478f185a8b1335e395a7ce30ab7ee2.tar.gz rust-937ca434b1478f185a8b1335e395a7ce30ab7ee2.zip | |
Rollup merge of #70189 - RalfJung:is_signed, r=eddyb
Abi::is_signed: assert that we are a Scalar A bit more sanity checking, suggested by @eddyb. This makes this method actually "safer" than `TyS::is_signed`, so I made sure Miri consistently uses the `Abi` version. Though I am not sure if this would have caught the mistake where the layout of a zero-sized enum was asked for its sign. r? @eddyb
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions
