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.