miri::helpers

Function path_ty_layout

source
pub fn path_ty_layout<'tcx>(
    cx: &impl LayoutOf<'tcx>,
    path: &[&str],
) -> TyAndLayout<'tcx>
Expand description

Gets the layout of a type at a path.