miri::helpers

Function try_resolve_did

Source
fn try_resolve_did(
    tcx: TyCtxt<'_>,
    path: &[&str],
    namespace: Option<Namespace>,
) -> Option<DefId>
Expand description

Gets an instance for a path.

A None namespace indicates we are looking for a module.