diff options
| author | LingMan <LingMan@users.noreply.github.com> | 2023-01-07 05:10:53 +0100 |
|---|---|---|
| committer | LingMan <LingMan@users.noreply.github.com> | 2023-01-07 05:10:53 +0100 |
| commit | dc0e4207d4d621d031ef25395f93cc43d36a08f2 (patch) | |
| tree | 63384e28cab434d48cb2e921dcce57a250e5fc92 | |
| parent | 7ac9572c48435b5342ad3550d6036bde835d37dc (diff) | |
| download | rust-dc0e4207d4d621d031ef25395f93cc43d36a08f2.tar.gz rust-dc0e4207d4d621d031ef25395f93cc43d36a08f2.zip | |
Fix a typo in the explanation of E0588
| -rw-r--r-- | compiler/rustc_error_codes/src/error_codes/E0588.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_error_codes/src/error_codes/E0588.md b/compiler/rustc_error_codes/src/error_codes/E0588.md index 040c7a02ef4..995d945f158 100644 --- a/compiler/rustc_error_codes/src/error_codes/E0588.md +++ b/compiler/rustc_error_codes/src/error_codes/E0588.md @@ -11,7 +11,7 @@ struct Aligned(i32); struct Packed(Aligned); ``` -Just like you cannot have both `align` and `packed` representation hints on a +Just like you cannot have both `align` and `packed` representation hints on the same type, a `packed` type cannot contain another type with the `align` representation hint. However, you can do the opposite: |
