about summary refs log tree commit diff
path: root/tests/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-05-31 07:07:01 +0200
committerGitHub <noreply@github.com>2023-05-31 07:07:01 +0200
commitf5894517ec8a32d48192e8aa800436231a8e215a (patch)
treed29c8aa0f0505a328d62291176366357c2a1103f /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs
parent7ca941f18e2b1bd3db325e6653ad76d7d407003a (diff)
parent6c18d1eceff68ede8b0692985fd9b704c7942530 (diff)
downloadrust-f5894517ec8a32d48192e8aa800436231a8e215a.tar.gz
rust-f5894517ec8a32d48192e8aa800436231a8e215a.zip
Rollup merge of #112069 - clubby789:offset-of-sized-fields, r=WaffleLapkin
offset_of: don't require type to be `Sized`

Fixes #112051

~~The RFC [explicitly forbids](https://rust-lang.github.io/rfcs/3308-offset_of.html#limitations) non-`Sized` types, but it looks like only the fields being recursed into were checked. The sized check also seemed to have been completely missing for tuples~~
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs')
0 files changed, 0 insertions, 0 deletions