use std::sync::Mutex; struct Test { comps: Mutex, } fn main() {} fn testing(test: Test) { let _ = test.comps.inner.try_lock(); //~^ ERROR: field `inner` of struct `Mutex` is private }