error: Consider using an AtomicBool instead of a Mutex here. If you just want the locking behaviour and not the internal type, consider using Mutex<()>.
= note: #[deny(mutex_atomic)] implied by #[deny(clippy)]
note: lint level defined here
--> $DIR/mutex_atomic.rs:4:9
|
4 | #![deny(clippy)]
| ^^^^^^
error: Consider using an AtomicUsize instead of a Mutex here. If you just want the locking behaviour and not the internal type, consider using Mutex<()>.
= note: #[deny(mutex_atomic)] implied by #[deny(clippy)]
error: Consider using an AtomicIsize instead of a Mutex here. If you just want the locking behaviour and not the internal type, consider using Mutex<()>.
= note: #[deny(mutex_atomic)] implied by #[deny(clippy)]
error: Consider using an AtomicPtr instead of a Mutex here. If you just want the locking behaviour and not the internal type, consider using Mutex<()>.
= note: #[deny(mutex_atomic)] implied by #[deny(clippy)]
error: Consider using an AtomicPtr instead of a Mutex here. If you just want the locking behaviour and not the internal type, consider using Mutex<()>.
= note: #[deny(mutex_atomic)] implied by #[deny(clippy)]
error: Consider using an AtomicUsize instead of a Mutex here. If you just want the locking behaviour and not the internal type, consider using Mutex<()>.
error: Consider using an AtomicIsize instead of a Mutex here. If you just want the locking behaviour and not the internal type, consider using Mutex<()>.