pub fn compute_module_ufcs(
module: &Module,
module_id: &str,
) -> Vec<(String, String)>Expand description
Compute UFCS methods for a single module’s types.
Three conditions (any one suffices):
- Extra type params: method’s Forall vars exceed base type’s generics count
- Specialized receiver: receiver’s type constructor params contain concrete types
- Mixed impl blocks: type has both bounded and unbounded impl blocks