pub async fn require_infer_is<'db>(
env: &mut Env<'db>,
perm: SymPerm<'db>,
infer: InferVarIndex,
predicate: Predicate,
or_else: &dyn OrElse<'db>,
) -> Errors<()>Expand description
Requires the inference variable (appearing under the given context) to meet the given predicate (possibly reporting an error if that is contradictory).
If this is a type inference variable, we are ignoring the affiliated permission.