You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pubstructOffset{// renaming inner here won't rename inner in the offset_of! macroinner:Inner,}pubstructInner{// renaming `a` here won't rename `a` in the offset_of! macroa:u8,}#[test]fnrename_offset_of(){// Trying to rename inner or `a` from here results in a "No reference found at position"
std::mem::offset_of!(Offset, inner.a);}
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: