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

Method from

src/analysis/pointsto/mod.rs:696–701  ·  view source on GitHub ↗
(lockguard_id: LockGuardId)

Source from the content-addressed store, hash-verified

694/// Basically, `AliasId` and `LockGuardId` share the same info.
695impl std::convert::From<LockGuardId> for AliasId {
696 fn from(lockguard_id: LockGuardId) -> Self {
697 Self {
698 instance_id: lockguard_id.instance_id,
699 local: lockguard_id.local,
700 }
701 }
702}
703
704/// Alias analysis based on points-to info.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected