1
Fork 0

Update tests for hidden references to mutable static

This commit is contained in:
Obei Sideg 2024-08-24 06:49:09 +03:00
parent 74cab947f7
commit 3b0ce1bc33
No known key found for this signature in database
GPG key ID: 14BF4B61362D0518
111 changed files with 803 additions and 744 deletions

View file

@ -1,5 +1,5 @@
error[E0451]: field `secret_uid` of struct `S` is private
--> $DIR/functional-struct-update-respects-privacy.rs:28:49
--> $DIR/functional-struct-update-respects-privacy.rs:32:49
|
LL | let s_2 = foo::S { b: format!("ess two"), ..s_1 }; // FRU ...
| ^^^ field `secret_uid` is private