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

Class LockGuardInfo

src/interest/concurrency/lock.rs:185–192  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

183/// The lockguard info. `span` is for report.
184#[derive(Clone, Debug)]
185pub struct LockGuardInfo<'tcx> {
186 pub lockguard_ty: LockGuardTy<'tcx>,
187 pub span: Span,
188 pub gen_locs: SmallVec<[Location; 4]>,
189 pub move_gen_locs: SmallVec<[Location; 4]>,
190 pub recursive_gen_locs: SmallVec<[Location; 4]>,
191 pub kill_locs: SmallVec<[Location; 4]>,
192}
193
194impl<'tcx> LockGuardInfo<'tcx> {
195 pub fn new(lockguard_ty: LockGuardTy<'tcx>, span: Span) -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected