X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=RELEASES.md;h=0f59d72bd16f29fa2cfacf86f222cab0ef0aedd8;hb=300d7f661a325a51e58b835b435bc8bb904f4b3d;hp=37aed7735455bb3312b78e711bfd5cfb03bded3d;hpb=be1b304ea4dec58255d76eca98442270ef17578a;p=rust.git diff --git a/RELEASES.md b/RELEASES.md index 37aed773545..0f59d72bd16 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -10,7 +10,7 @@ Language function's caller's location information for panic messages.][72445] - [Recursively indexing into tuples no longer needs parentheses.][71322] E.g. `x.0.0` over `(x.0).0`. -- [`mem::transmute` can now be used in static and constants.][72920] **Note** +- [`mem::transmute` can now be used in statics and constants.][72920] **Note** You currently can't use `mem::transmute` in constant functions. Compiler @@ -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