about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/mod.rs
diff options
context:
space:
mode:
authorGeorge Bateman <george.bateman16@gmail.com>2024-04-28 18:36:08 +0100
committerGeorge Bateman <george.bateman16@gmail.com>2024-04-28 18:36:08 +0100
commitca79086c874278bf362391996be7b49ccf30160a (patch)
tree8eb76791edf0f9f6fc1582f14c6c4ffc12c57f84 /compiler/rustc_mir_transform/src/coverage/mod.rs
parent6c90ac8d8f4489472720fce03c338cd5d0977f33 (diff)
downloadrust-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