fn crate_rank(genv: GlobalEnv<'_, '_>, krate: CrateNum) -> usize
The position of krate in a topological order of all crates, i.e., every crate comes after all the crates it depends on. The local crate goes last.
krate