mod_item_path_str

Function mod_item_path_str 

Source
fn mod_item_path_str(
    sema_scope: &SemanticsScope<'_>,
    def: &ModuleDef,
    cfg: FindPathConfig,
    edition: Edition,
) -> Result<String, DisplaySourceCodeError>
Expand description

Helper function to get path to ModuleDef as string