Skip to content

Commit 730c68e

Browse files
authored
Rollup merge of #75996 - tinaun:patch-2, r=jonas-schievink
fix wording in release notes C-like enums are still allowed to impl drop, you just can't cast them to numbers
2 parents efd81b4 + 65b37ce commit 730c68e

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)