Commit 1ab8ac5
authored
Rollup merge of #124484 - GKFX:offset_of_must_use, r=jieyouxu
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`File tree
0 file changed
+0
-0
lines changed0 file changed
+0
-0
lines changed
0 commit comments