about summary refs log tree commit diff
path: root/src/test/ui/functional-struct-update
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2020-03-22 15:36:54 -0700
committerEsteban Küber <esteban@kuber.com.ar>2020-03-22 15:36:54 -0700
commit854b78fe22af2ed010cc4367c3456eccf427b6dc (patch)
treeba28904fbb2de8e40498a9f397499d7856294742 /src/test/ui/functional-struct-update
parent94bbd46682fdf37aae7fe661e9f925649d439c36 (diff)
Normalize wording of privacy access labels
Diffstat (limited to 'src/test/ui/functional-struct-update')
-rw-r--r--src/test/ui/functional-struct-update/functional-struct-update-respects-privacy.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/functional-struct-update/functional-struct-update-respects-privacy.stderr b/src/test/ui/functional-struct-update/functional-struct-update-respects-privacy.stderr
index 2aeffc3e5e4..19703fc99fd 100644
--- a/src/test/ui/functional-struct-update/functional-struct-update-respects-privacy.stderr
+++ b/src/test/ui/functional-struct-update/functional-struct-update-respects-privacy.stderr
@@ -2,7 +2,7 @@ error[E0451]: field `secret_uid` of struct `foo::S` is private
   --> $DIR/functional-struct-update-respects-privacy.rs:28:49
    |
 LL |     let s_2 = foo::S { b: format!("ess two"), ..s_1 }; // FRU ...
-   |                                                 ^^^ field `secret_uid` is private
+   |                                                 ^^^ private field
 
 error: aborting due to previous error