Function rustc_lint::middle::ty::struct_tailUnstable [-] [+] [src]

pub fn struct_tail(cx: &ctxt<'tcx>, ty: &'tcx TyS<'tcx>) -> &'tcx TyS<'tcx>

Returns the deeply last field of nested structures, or the same type, if not a structure at all. Corresponds to the only possible unsized field, and its type can be used to determine unsizing strategy.