rustc_mir_transform::coverage::spans

Module from_mir

Source

Structsยง

Functionsยง

  • Traverses the MIR body to produce an initial collection of coverage-relevant spans, each associated with a node in the coverage graph (BCB) and possibly other metadata.
  • If the MIR Statement has a span contributive to computing coverage spans, return it; otherwise return None.
  • If the MIR Terminator has a span contributive to computing coverage spans, return it; otherwise return None.