From 65b37ce09093ea9a657ac37dd24db2f6343d6710 Mon Sep 17 00:00:00 2001 From: tinaun Date: Thu, 27 Aug 2020 14:41:18 -0400 Subject: [PATCH] fix wording in release notes C-like enums are still allowed to impl drop, you just can't cast them to numbers --- RELEASES.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RELEASES.md b/RELEASES.md index 37aed7735455b..64fe2df3c496c 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