about summary refs log tree commit diff
path: root/src/librustdoc/html/static/js/source-script.js
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2022-04-20 18:26:01 +0200
committerGitHub <noreply@github.com>2022-04-20 18:26:01 +0200
commit38e3f523c0e4ba47614f30830c4e631e57810ce1 (patch)
treedbd7b3966a4521722974ce989b7078a08cd1e0f0 /src/librustdoc/html/static/js/source-script.js
parentd39864d64e6e0762d418f6beeedb4510942fc828 (diff)
parent6f8a1ee45eae53bb53a488bea62edad0879b34b5 (diff)
downloadrust-38e3f523c0e4ba47614f30830c4e631e57810ce1.tar.gz
rust-38e3f523c0e4ba47614f30830c4e631e57810ce1.zip
Rollup merge of #93313 - tmiasko:uninhabited, r=tmandry
Check if call return type is visibly uninhabited when building MIR

The main motivation behind the change is to expose information about diverging
calls to the generator transform and match the precision of drop range tracking
which already understands that call expressions with visibly uninhabited types
diverges.

This change should also accept strictly more programs than before. That is
programs that were previously rejected due to errors raised by control-flow
sensitive checks in a code that is no longer considered reachable.

Fixes #93161.
Diffstat (limited to 'src/librustdoc/html/static/js/source-script.js')
0 files changed, 0 insertions, 0 deletions