diff options
| author | George Bateman <george.bateman16@gmail.com> | 2024-04-28 18:36:08 +0100 |
|---|---|---|
| committer | George Bateman <george.bateman16@gmail.com> | 2024-04-28 18:36:08 +0100 |
| commit | ca79086c874278bf362391996be7b49ccf30160a (patch) | |
| tree | 8eb76791edf0f9f6fc1582f14c6c4ffc12c57f84 /compiler/rustc_mir_transform/src/coverage/mod.rs | |
| parent | 6c90ac8d8f4489472720fce03c338cd5d0977f33 (diff) | |
| download | rust-ca79086c874278bf362391996be7b49ccf30160a.tar.gz rust-ca79086c874278bf362391996be7b49ccf30160a.zip | |
Fix #124478 - offset_of! returns a temporary
This was due to the must_use() call. Adding HIR's OffsetOf to the must_use checking within the compiler avoids this issue.
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/mod.rs')
0 files changed, 0 insertions, 0 deletions
