ref/refmut
This commit is contained in:
parent
4cc3297dc4
commit
cb8e83caeb
5 changed files with 14 additions and 3 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue