Module rustc_const_eval::util::check_validity_requirement
source · Functions§
- Determines if this type permits “raw” initialization by just transmuting some memory into an instance of
T
. - Implements the ‘lax’ (default) version of the
might_permit_raw_init
checks; see that function for details. - Implements the ‘strict’ version of the
might_permit_raw_init
checks; see that function for details.