Sign in
fuchsia
/
third_party
/
rust
/
7bade6ef730cff83f3591479a98916920f66decd
/
.
/
src
/
test
/
ui
/
issues
/
issue-54062.rs
blob: 093d6601d4e2e6063d7267cfe1abeebff01f6c3a [
file
] [
log
] [
blame
]
use
std
::
sync
::
Mutex
;
struct
Test
{
comps
:
Mutex
<
String
>,
}
fn
main
()
{}
fn
testing
(
test
:
Test
)
{
let
_
=
test
.
comps
.
inner
.
try_lock
();
//~^ ERROR: field `inner` of struct `Mutex` is private
}