Module rustc_ty_utils::representability[][src]

Expand description

Check whether a type is representable.

Enums

Describes whether a type is representable. For types that are not representable, ‘SelfRecursive’ and ‘ContainsRecursive’ are used to distinguish between types that are recursive with themselves and types that contain a different recursive type. These cases can therefore be treated differently when reporting errors.

Functions

Check whether a type is representable. This means it cannot contain unboxed structural recursion. This check is needed for structs and enums.