File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
src/librustc_error_codes/error_codes Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ struct LengthWithUnit<U> { // error: transparent struct needs exactly one
1414Because transparent structs are represented exactly like one of their fields at
1515run time, said field must be uniquely determined. If there is no field, or if
1616there 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
17+ Note that fields of zero-sized types (e.g., ` PhantomData ` ) can also exist
1818alongside the field that contains the actual data, they do not count for this
1919error. When generic types are involved (as in the above example), an error is
2020reported because the type parameter could be non-zero-sized.
You can’t perform that action at this time.
0 commit comments