MCPcopy Create free account
hub / github.com/CodeSentryAI/lockbud / from_instance

Method from_instance

src/interest/memory/uninit.rs:56–59  ·  view source on GitHub ↗
(instance: Instance<'tcx>, tcx: TyCtxt<'tcx>)

Source from the content-addressed store, hash-verified

54
55impl UninitApi {
56 pub fn from_instance<'tcx>(instance: Instance<'tcx>, tcx: TyCtxt<'tcx>) -> Option<Self> {
57 let path = tcx.def_path_str_with_args(instance.def_id(), instance.args);
58 Self::from_str(&path)
59 }
60
61 #[inline]
62 fn from_str(path: &str) -> Option<Self> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected