pub fn track_effects(
module: &AIRModule,
strictness: Strictness,
) -> DiagnosticBagExpand description
Track effect usage through the call graph of module and emit diagnostics
according to strictness.
See the module-level docs for the algorithm.
Returns a DiagnosticBag with all emitted diagnostics.