Function rustc_mir::util::is_disaligned
[−]
[src]
pub fn is_disaligned<'a, 'tcx, L>(
tcx: TyCtxt<'a, 'tcx, 'tcx>,
local_decls: &L,
param_env: ParamEnv<'tcx>,
place: &Place<'tcx>
) -> bool where
L: HasLocalDecls<'tcx>,
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Return true
if this place is allowed to be less aligned
than its containing struct (because it is within a packed
struct).