mirror of
https://github.com/rust-lang/rust.git
synced 2025-12-30 02:35:30 +00:00
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 while maintaining the lint output. Fixes #124478. `@tgross35`