Skip to main content

track_effects

Function track_effects 

Source
pub fn track_effects(
    module: &AIRModule,
    strictness: Strictness,
) -> DiagnosticBag
Expand 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.