Function rustc_typeck::check::check_representable [] [src]

pub fn check_representable<'a, 'tcx>(tcx: TyCtxt<'a, 'tcx, 'tcx>, sp: Span, item_id: NodeId, _designation: &str) -> bool
Unstable (rustc_private)

Checks whether a type can be represented in memory. In particular, it identifies types that contain themselves without indirection through a pointer, which would mean their size is unbounded.