We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a2485b commit c2ca5faCopy full SHA for c2ca5fa
tests/ui/issues/issue-54062.rs
@@ -7,6 +7,6 @@ struct Test {
7
fn main() {}
8
9
fn testing(test: Test) {
10
- let _ = test.comps.inner.try_lock();
11
- //~^ ERROR: field `inner` of struct `Mutex` is private
+ let _ = test.comps.state.inner.try_lock();
+ //~^ ERROR: field `state` of struct `Mutex` is private
12
}
tests/ui/issues/issue-54062.stderr
@@ -1,7 +1,7 @@
1
-error[E0616]: field `inner` of struct `Mutex` is private
+error[E0616]: field `state` of struct `Mutex` is private
2
--> $DIR/issue-54062.rs:10:24
3
|
4
-LL | let _ = test.comps.inner.try_lock();
+LL | let _ = test.comps.state.inner.try_lock();
5
| ^^^^^ private field
6
error: aborting due to previous error
0 commit comments