#[deadlock_risk]
Expand description
Mark code with potential concurrency/deadlock issues.
Optionally accepts a string literal detailing the risk,
like #[deadlock_risk("acquires multiple locks")]
.
This attribute does not modify the item it annotates.