pub fn assert_internal(cond: bool, msg: &str) -> Result<(), HintedString>
Asserts a condition, generating an internal compiler error with the provided message on failure.