diff options
| author | bors <bors@rust-lang.org> | 2023-11-03 08:41:59 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-11-03 08:41:59 +0000 |
| commit | 49112241e96aaca646b1aa8ef704e494f56feed4 (patch) | |
| tree | 7fc2c86b2bb20298fab6c2f579fa3b155960f783 /compiler | |
| parent | 1d6f05fd3735efc8f5af2f6278a3391543c2790b (diff) | |
| parent | 5e49a4165e0846af6e8ee0aa4a27d434363d4ae5 (diff) | |
| download | rust-49112241e96aaca646b1aa8ef704e494f56feed4.tar.gz rust-49112241e96aaca646b1aa8ef704e494f56feed4.zip | |
Auto merge of #117510 - elichai:patch-3, r=cuviper
Add track_caller to transmute_copy Currently if `size_of::<Src>() < size_of::<Dst>()` you will see the following error: ```rust thread 'test' panicked at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/mem/mod.rs:1056:5: cannot transmute_copy if Dst is larger than Src ``` This fixes it so it will show the invocation location
Diffstat (limited to 'compiler')
0 files changed, 0 insertions, 0 deletions
