diff options
| author | Dylan DPC <dylan.dpc@gmail.com> | 2020-06-10 11:03:40 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-10 11:03:40 +0200 |
| commit | fda594e6ae5c430475120944b8a0e92fe8f206a5 (patch) | |
| tree | 30f9257724dfd7072f029e2f845309824f0b9ca3 /src/test/codegen/src-hash-algorithm | |
| parent | 78d08a2269e359aa54f997a0fefe1eb828899a5c (diff) | |
| parent | d4d3d7de68d331829b5dcd08be3d4aec1a7a7f2b (diff) | |
| download | rust-fda594e6ae5c430475120944b8a0e92fe8f206a5.tar.gz rust-fda594e6ae5c430475120944b8a0e92fe8f206a5.zip | |
Rollup merge of #72890 - davidtwco:issue-66202-normalize-and-transparent-improper-ctypes, r=varkor
improper ctypes: normalize return types and transparent structs Fixes #66202. See each commit individually (except the first which adds a test) for more detailed explanations on the changes made. In summary, this PR ensures that return types are normalized before being checked for FFI-safety, and that transparent newtype wrappers are FFI-safe if the type being wrapped is FFI-safe (often true previously, but not if, after substitution, all types in a transparent newtype were zero sized).
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions
