@@ -14,79 +14,79 @@ LL | let mut value = mut_ref_mut_ref_mutex.lock().unwrap();
1414 | ^^^^ help: change this to: `get_mut`
1515
1616error: calling `&mut Mutex::lock` unnecessarily locks an exclusive (mutable) reference
17- --> tests/ui/mut_mutex_lock.rs:68 :26
17+ --> tests/ui/mut_mutex_lock.rs:74 :26
1818 |
1919LL | refmutself.0.lock().unwrap();
2020 | ^^^^ help: change this to: `get_mut`
2121
2222error: calling `&mut Mutex::lock` unnecessarily locks an exclusive (mutable) reference
23- --> tests/ui/mut_mutex_lock.rs:70 :20
23+ --> tests/ui/mut_mutex_lock.rs:76 :20
2424 |
2525LL | self.0.lock().unwrap();
2626 | ^^^^ help: change this to: `get_mut`
2727
2828error: calling `&mut Mutex::lock` unnecessarily locks an exclusive (mutable) reference
29- --> tests/ui/mut_mutex_lock.rs:80 :26
29+ --> tests/ui/mut_mutex_lock.rs:86 :26
3030 |
3131LL | refmutself.0.lock().unwrap();
3232 | ^^^^ help: change this to: `get_mut`
3333
3434error: calling `&mut Mutex::lock` unnecessarily locks an exclusive (mutable) reference
35- --> tests/ui/mut_mutex_lock.rs:82 :20
35+ --> tests/ui/mut_mutex_lock.rs:88 :20
3636 |
3737LL | self.0.lock().unwrap();
3838 | ^^^^ help: change this to: `get_mut`
3939
4040error: calling `&mut Mutex::lock` unnecessarily locks an exclusive (mutable) reference
41- --> tests/ui/mut_mutex_lock.rs:203 :28
41+ --> tests/ui/mut_mutex_lock.rs:209 :28
4242 |
4343LL | refmutself.0.0.lock().unwrap();
4444 | ^^^^ help: change this to: `get_mut`
4545
4646error: calling `&mut Mutex::lock` unnecessarily locks an exclusive (mutable) reference
47- --> tests/ui/mut_mutex_lock.rs:205 :22
47+ --> tests/ui/mut_mutex_lock.rs:211 :22
4848 |
4949LL | self.0.0.lock().unwrap();
5050 | ^^^^ help: change this to: `get_mut`
5151
5252error: calling `&mut Mutex::lock` unnecessarily locks an exclusive (mutable) reference
53- --> tests/ui/mut_mutex_lock.rs:216 :28
53+ --> tests/ui/mut_mutex_lock.rs:222 :28
5454 |
5555LL | refmutself.0.0.lock().unwrap();
5656 | ^^^^ help: change this to: `get_mut`
5757
5858error: calling `&mut Mutex::lock` unnecessarily locks an exclusive (mutable) reference
59- --> tests/ui/mut_mutex_lock.rs:218 :22
59+ --> tests/ui/mut_mutex_lock.rs:224 :22
6060 |
6161LL | self.0.0.lock().unwrap();
6262 | ^^^^ help: change this to: `get_mut`
6363
6464error: calling `&mut Mutex::lock` unnecessarily locks an exclusive (mutable) reference
65- --> tests/ui/mut_mutex_lock.rs:251 :28
65+ --> tests/ui/mut_mutex_lock.rs:257 :28
6666 |
6767LL | refmutself.0.0.lock().unwrap();
6868 | ^^^^ help: change this to: `get_mut`
6969
7070error: calling `&mut Mutex::lock` unnecessarily locks an exclusive (mutable) reference
71- --> tests/ui/mut_mutex_lock.rs:253 :22
71+ --> tests/ui/mut_mutex_lock.rs:259 :22
7272 |
7373LL | self.0.0.lock().unwrap();
7474 | ^^^^ help: change this to: `get_mut`
7575
7676error: calling `&mut Mutex::lock` unnecessarily locks an exclusive (mutable) reference
77- --> tests/ui/mut_mutex_lock.rs:264 :28
77+ --> tests/ui/mut_mutex_lock.rs:270 :28
7878 |
7979LL | refmutself.0.0.lock().unwrap();
8080 | ^^^^ help: change this to: `get_mut`
8181
8282error: calling `&mut Mutex::lock` unnecessarily locks an exclusive (mutable) reference
83- --> tests/ui/mut_mutex_lock.rs:266 :22
83+ --> tests/ui/mut_mutex_lock.rs:272 :22
8484 |
8585LL | self.0.0.lock().unwrap();
8686 | ^^^^ help: change this to: `get_mut`
8787
8888error: calling `&mut Mutex::lock` unnecessarily locks an exclusive (mutable) reference
89- --> tests/ui/mut_mutex_lock.rs:274 :20
89+ --> tests/ui/mut_mutex_lock.rs:280 :20
9090 |
9191LL | mutexes[0].lock().unwrap();
9292 | ^^^^ help: change this to: `get_mut`
0 commit comments