pub fn resolve_path<'tcx>( tcx: TyCtxt<'tcx>, path: &[&str], namespace: Namespace, ) -> Instance<'tcx>
Gets an instance for a path.