place_unalignment

Function place_unalignment 

Source
pub fn place_unalignment<'tcx, L>(
    tcx: TyCtxt<'tcx>,
    local_decls: &L,
    typing_env: TypingEnv<'tcx>,
    place: Place<'tcx>,
) -> Option<(AdtDef<'tcx>, Align)>
where L: HasLocalDecls<'tcx>,
Expand description

If the place may be less aligned than its type requires (because it is in a packed type), returns the AdtDef and packed alignment of its most-unaligned projection.