From b9a7601913ddcd261c0c3a5713d8024780f6ca2b Mon Sep 17 00:00:00 2001 From: Simon Sapin Date: Tue, 21 Nov 2017 08:37:34 +0100 Subject: [PATCH 1/2] Expand a couple points in 1.22.0 release notes --- RELEASES.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/RELEASES.md b/RELEASES.md index 7a3b097611e8c..d46208831ef61 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -7,7 +7,8 @@ Language - [Now accepts underscores in unicode escapes][43716] - [`#![feature(const_fn)]` is now no longer required for calling const functions.][43017] It's still required for creating - constant functions. + constant functions, and const functions in the standard libraries + now have individual feature gates. - [`T op= &T` now works for numeric types.][44287] eg. `let mut x = 2; x += &8;` - [types that impl `Drop` are now allowed in `const` and `static` types][44456] @@ -45,8 +46,8 @@ Cargo Misc ---- - [`libbacktrace` is now available on Apple platforms.][44251] -- [Stabilised the `compile_fail` attribute for code fences.][43949] This now - lets you specify that a given code example will fail to compile. +- [Stabilised the `compile_fail` attribute for code fences in doc-comments.][43949] + This now lets you specify that a given code example will fail to compile. Compatibility Notes ------------------- From 13c1cbe749a5d6f737152454ea4041b5d53d9acb Mon Sep 17 00:00:00 2001 From: Simon Sapin Date: Tue, 21 Nov 2017 12:43:24 +0100 Subject: [PATCH 2/2] Remove 1.23.0 release notes entry on const_fn MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It doesn’t change anything for stable users in practice. See discussion in https://github.com/rust-lang/rust/pull/46148 --- RELEASES.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/RELEASES.md b/RELEASES.md index d46208831ef61..fff5feb2aefff 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -5,10 +5,6 @@ Language -------- - [`non_snake_case` lint now allows extern no-mangle functions][44966] - [Now accepts underscores in unicode escapes][43716] -- [`#![feature(const_fn)]` is now no longer required for - calling const functions.][43017] It's still required for creating - constant functions, and const functions in the standard libraries - now have individual feature gates. - [`T op= &T` now works for numeric types.][44287] eg. `let mut x = 2; x += &8;` - [types that impl `Drop` are now allowed in `const` and `static` types][44456]