From fa9a45b032067afd7d930632a842b6a4bf74fba3 Mon Sep 17 00:00:00 2001 From: "Zack M. Davis" Date: Sat, 26 Aug 2017 14:52:52 -0700 Subject: [PATCH] 1.20 compatibility release note for fn_must_use feature warning --- RELEASES.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/RELEASES.md b/RELEASES.md index c3a7367a2ee54..519c0875ba16a 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -110,7 +110,10 @@ Compatibility Notes - [Functions with `'static` in their return types will now not be as usable as if they were using lifetime parameters instead.][42417] - [The reimplementation of `{f32, f64}::is_sign_{negative, positive}` now - takes the sign of NaN into account where previously didn't.][42430] + takes the sign of NaN into account where previously didn't.][42430] +- [A `#[must_use]` attribute on a function, previously a no-op, will now + warn to note that this behavior will change given the unstable `fn_must_use` + feature.][43776] [42033]: https://github.com/rust-lang/rust/pull/42033 [42155]: https://github.com/rust-lang/rust/pull/42155 @@ -140,6 +143,7 @@ Compatibility Notes [43178]: https://github.com/rust-lang/rust/pull/43178 [43185]: https://github.com/rust-lang/rust/pull/43185 [43228]: https://github.com/rust-lang/rust/pull/43228 +[43776]: https://github.com/rust-lang/rust/pull/43776 [cargo/3978]: https://github.com/rust-lang/cargo/pull/3978 [cargo/4214]: https://github.com/rust-lang/cargo/pull/4214 [cargo/4229]: https://github.com/rust-lang/cargo/pull/4229