pub fn cached_to_module(cached: &CachedModule, file_id: FileId) -> ModuleInfoExpand description
Reconstruct a ModuleInfo from a CachedModule,
with its complexity and its call facts.
An entry that holds no usable call facts gives function_contracts: None,
the same as a module with no facts. A parse that must have the facts uses
cached_hit_to_module, which treats such an entry as a miss.