You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
for locked_dep in locked.locked_before.lock().unwrap().iter(){
169
169
if locked_dep.lock == *this && locked_dep.lock != *locked {
170
170
#[cfg(feature = "backtrace")]
171
-
panic!("Tried to violate existing lockorder.\nMutex that should be locked after the current lock was created at the following backtrace.\nNote that to get a backtrace for the lockorder violation, you should set RUST_BACKTRACE=1\nLock constructed at:\n{:?}\n\nLock dep created at:\n{:?}\n\n", locked.lock_construction_bt, locked_dep.lockdep_trace);
171
+
panic!("Tried to violate existing lockorder.\nMutex that should be locked after the current lock was created at the following backtrace.\nNote that to get a backtrace for the lockorder violation, you should set RUST_BACKTRACE=1\nLock constructed at:\n{:?}\n\nLock dep created at:\n{:?}\n\n", locked._lock_construction_bt, locked_dep.lockdep_trace);
172
172
#[cfg(not(feature = "backtrace"))]
173
173
panic!("Tried to violate existing lockorder. Build with the backtrace feature for more info.");
0 commit comments