diff options
| author | tinaun <tinagma@gmail.com> | 2020-08-27 14:41:18 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-27 14:41:18 -0400 |
| commit | 65b37ce09093ea9a657ac37dd24db2f6343d6710 (patch) | |
| tree | da859852fe7ce866f97d5ed54627ac30b9f44997 | |
| parent | 3d0c847d3353e319ed82598a106e28fd490caa6b (diff) | |
| download | rust-65b37ce09093ea9a657ac37dd24db2f6343d6710.tar.gz rust-65b37ce09093ea9a657ac37dd24db2f6343d6710.zip | |
fix wording in release notes
C-like enums are still allowed to impl drop, you just can't cast them to numbers
| -rw-r--r-- | RELEASES.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/RELEASES.md b/RELEASES.md index 37aed773545..64fe2df3c49 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -51,7 +51,7 @@ Compatibility Notes ------------------- - [The target configuration option `abi_blacklist` has been renamed to `unsupported_abis`.][74150] The old name will still continue to work. -- [Rustc will now warn if you have a C-like enum that implements `Drop`.][72331] +- [Rustc will now warn if you cast a C-like enum that implements `Drop`.][72331] This was previously accepted but will become a hard error in a future release. - [Rustc will fail to compile if you have a struct with `#[repr(i128)]` or `#[repr(u128)]`.][74109] This representation is currently only |
