pub trait InferenceVarDataChanged {
// Required method
fn did_change(&self) -> bool;
}Expand description
Trait implemented by types returned by mutation methods
like InferenceVarData::set_red_perm_bound
or InferenceVarData::set_red_ty_bound.
Can be used to check if those return values indicate that
the inference var data was actually changed.