about summary refs log tree commit diff
path: root/src/librustc_error_codes/error_codes
diff options
context:
space:
mode:
authoraticu <15schnic@gmail.com>2020-04-21 18:13:58 +0200
committeraticu <15schnic@gmail.com>2020-04-21 18:13:58 +0200
commite2901c48cf8fd828fb60015cd551a062c34c0ff8 (patch)
tree311bf224d474b4192609bfeaf2bd54a31054e17f /src/librustc_error_codes/error_codes
parent45d050cde277b22a755847338f2acc2c7b834141 (diff)
downloadrust-e2901c48cf8fd828fb60015cd551a062c34c0ff8.tar.gz
rust-e2901c48cf8fd828fb60015cd551a062c34c0ff8.zip
Fix incorrect description of E0690
Diffstat (limited to 'src/librustc_error_codes/error_codes')
-rw-r--r--src/librustc_error_codes/error_codes/E0690.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_error_codes/error_codes/E0690.md b/src/librustc_error_codes/error_codes/E0690.md
index 3a4d1c56fad..1673456580a 100644
--- a/src/librustc_error_codes/error_codes/E0690.md
+++ b/src/librustc_error_codes/error_codes/E0690.md
@@ -14,7 +14,7 @@ struct LengthWithUnit<U> { // error: transparent struct needs exactly one
 Because transparent structs are represented exactly like one of their fields at
 run time, said field must be uniquely determined. If there is no field, or if
 there are multiple fields, it is not clear how the struct should be represented.
-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
 alongside the field that contains the actual data, they do not count for this
 error. When generic types are involved (as in the above example), an error is
 reported because the type parameter could be non-zero-sized.