rustc_middle::ty::inhabitedness::inhabited_predicate

Function try_or

Source
fn try_or<T, E>(
    a: T,
    b: T,
    f: impl FnMut(T) -> Result<bool, E>,
) -> Result<bool, E>