about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-07-01 06:05:58 +0200
committerGitHub <noreply@github.com>2022-07-01 06:05:58 +0200
commitc4acd06a57f0add28b15a67985ed0d89d00f81d3 (patch)
treed8cd03846f11e976e3c26572c3c7618795c350b7
parent80dd48b73f1a570517bcabd8630070a136a252d8 (diff)
parentdebee1e581c91a0af78f9b43d9f7d4a4b5aae210 (diff)
downloadrust-c4acd06a57f0add28b15a67985ed0d89d00f81d3.tar.gz
rust-c4acd06a57f0add28b15a67985ed0d89d00f81d3.zip
Rollup merge of #98734 - tmiasko:uninhabited-calls-release-notes, r=Mark-Simulacrum
Update RELEASES.md

Clarify that flow sensitive checks now understand that *visibly*
uninhabited call expressions never return.

The change influences checks of reachable and unreachable code alike,
not just dead code like previous wording would imply.

cc ``@Kixunil``
-rw-r--r--RELEASES.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/RELEASES.md b/RELEASES.md
index 7479735012c..eb6ecadcc97 100644
--- a/RELEASES.md
+++ b/RELEASES.md
@@ -5,7 +5,7 @@ Language
 --------
 
 - [Stabilize `#[derive(Default)]` on enums with a `#[default]` variant][94457]
-- [Stop validating some checks in dead code after functions with uninhabited return types][93313]
+- [Teach flow sensitive checks that visibly uninhabited call expressions never return][93313]
 - [Fix constants not getting dropped if part of a diverging expression][94775]
 - [Support unit struct/enum variant in destructuring assignment][95380]
 - [Remove mutable_borrow_reservation_conflict lint and allow the code pattern][96268]