Function rustc_trans::middle::ty::is_type_representableExperimental
[-]
[+]
[src]
pub fn is_type_representable(cx: &ctxt<'tcx>, sp: Span, ty: &'tcx TyS<'tcx>) -> Representability
Check whether a type is representable. This means it cannot contain unboxed structural recursion. This check is needed for structs and enums.