ref/refmut

This commit is contained in:
Gus Wynn 2021-09-28 17:57:08 -07:00
parent 4cc3297dc4
commit cb8e83caeb
5 changed files with 14 additions and 3 deletions

View file

@ -11,7 +11,7 @@ note: the lint level is defined here
|
LL | #![deny(must_not_suspend)]
| ^^^^^^^^^^^^^^^^
note: Holding a MutexGuard across suspend points can cause deadlocks, delays, and cause Future's to not implement `Send`
note: Holding a MutexGuard across suspend points can cause deadlocks, delays, and cause Futures to not implement `Send`
--> $DIR/mutex.rs:7:9
|
LL | let _guard = m.lock().unwrap();