incorrect "cannot assign twice to immutable variable _
" with try_blocks + never_type + nll
#62165
Labels
A-NLL
Area: Non-lexical lifetimes (NLL)
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
The following program:
now produces the following error, as of 2019-06-27:
(note that the playground link currently compiles; I think it's on an older nightly?)
From bisection, this appears to be a regression from #61872 (cc @matthewjasper).
Oddly, removing
#![feature(never_type)]
causes the problem to disappear.The text was updated successfully, but these errors were encountered: