Mostly because of std::sync::Mutex but I am not aware of any other use-case. It is also possible to directly whitelist the lock method in the lint without any user-provided data.
use std::sync::Mutex;
#[deny(clippy::unwrap_used)]
pub fn from_days(mutex: &Mutex<i32>) -> i32 {
*mutex.lock().unwrap()
}
allowed-unwrap-used-functions = ["std::sync::Mutex::lock"]