]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_privacy/diagnostics.rs
Auto merge of #31710 - eddyb:reify, r=nikomatsakis
[rust.git] / src / librustc_privacy / diagnostics.rs
index 36ba3d0ca73636bb291c1310ab4c9e6b4998c5d9..1b49409970ded6549c6abcf45bfa64b26deea627 100644 (file)
@@ -205,8 +205,8 @@ pub struct Foo {
                                 //        is private
 ```
 
-To fix this error, please ensure that all the fields of the struct, or
-implement a function for easy instantiation. Examples:
+To fix this error, please ensure that all the fields of the struct are public,
+or implement a function for easy instantiation. Examples:
 
 ```
 mod Bar {