]> git.proxmox.com Git - rustc.git/blame - src/test/ui/issues/issue-54062.stderr
New upstream version 1.44.1+dfsg1
[rustc.git] / src / test / ui / issues / issue-54062.stderr
CommitLineData
416331ca 1error[E0616]: field `inner` of struct `std::sync::Mutex` is private
ba9703b0 2 --> $DIR/issue-54062.rs:10:24
416331ca
XL
3 |
4LL | let _ = test.comps.inner.lock().unwrap();
ba9703b0 5 | ^^^^^ private field
416331ca 6
dfeec247 7error[E0599]: no method named `unwrap` found for struct `std::sys_common::mutex::MutexGuard<'_>` in the current scope
416331ca
XL
8 --> $DIR/issue-54062.rs:10:37
9 |
10LL | let _ = test.comps.inner.lock().unwrap();
e1599b0c 11 | ^^^^^^ method not found in `std::sys_common::mutex::MutexGuard<'_>`
416331ca
XL
12
13error: aborting due to 2 previous errors
14
15Some errors have detailed explanations: E0599, E0616.
16For more information about an error, try `rustc --explain E0599`.