mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-28 11:17:26 +03:00
0580588ec6
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`