Skip to content

Commit 65b37ce

Browse files
authored
fix wording in release notes
C-like enums are still allowed to impl drop, you just can't cast them to numbers
1 parent 3d0c847 commit 65b37ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

RELEASES.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Compatibility Notes
5151
-------------------
5252
- [The target configuration option `abi_blacklist` has been renamed
5353
to `unsupported_abis`.][74150] The old name will still continue to work.
54-
- [Rustc will now warn if you have a C-like enum that implements `Drop`.][72331]
54+
- [Rustc will now warn if you cast a C-like enum that implements `Drop`.][72331]
5555
This was previously accepted but will become a hard error in a future release.
5656
- [Rustc will fail to compile if you have a struct with
5757
`#[repr(i128)]` or `#[repr(u128)]`.][74109] This representation is currently only

0 commit comments

Comments
 (0)