Exponential compile time with let
in unsupported position within closure
#104871
Labels
C-bug
Category: This is a bug.
I-compiletime
Issue: Problems and improvements with respect to compile times.
Found with a modified fuzz-rustc
Code
Variant A: slow and high memory use
Variant B: slow only
Where it's slow
From
-Z time-passes
:item_bodies_checking
From sample-head.txt:
ExprUseVisitor
when called byrustc_hir_typeck::upvar::FnCtxt::analyze_closure
Regression
Regression in nightly-2021-08-17, perhaps from #80357
Version
(Doesn't reproduce on playground)
@rustbot label +I-compiletime
The text was updated successfully, but these errors were encountered: