Option::is_some_and
Result::is_ok_and
LangItems::require
For more information about how rustc works, see the rustc dev guide.