We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 45d050c commit e2901c4Copy full SHA for e2901c4
src/librustc_error_codes/error_codes/E0690.md
@@ -14,7 +14,7 @@ struct LengthWithUnit<U> { // error: transparent struct needs exactly one
14
Because transparent structs are represented exactly like one of their fields at
15
run time, said field must be uniquely determined. If there is no field, or if
16
there are multiple fields, it is not clear how the struct should be represented.
17
-Note that fields of zero-typed types (e.g., `PhantomData`) can also exist
+Note that fields of zero-sized types (e.g., `PhantomData`) can also exist
18
alongside the field that contains the actual data, they do not count for this
19
error. When generic types are involved (as in the above example), an error is
20
reported because the type parameter could be non-zero-sized.
0 commit comments