Skip to main content

suite_ordinal

Function suite_ordinal 

Source
pub fn suite_ordinal(
    i: usize,
    indices: &[usize],
    parsed: &[ParsedFile],
) -> Option<usize>
Expand description

#1860: the ordinal of the suite at parsed[i] among the suites in indices (each index whose file is a suite), or None when i is not one. StubScope::Suite is keyed by it, so emission computes it the same way for each run.