Exponential parse time involving maybe_suggest_struct_literal
#105067
Labels
C-bug
Category: This is a bug.
I-compiletime
Issue: Problems and improvements with respect to compile times.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
Where it's slow
According to
-Z time-passes
, the slow pass isparse_crate
.sample-head.txt
maybe_suggest_struct_literal
repeatedly on the stack is sus.Regression
Regression in nightly-2020-10-09, most likely from #75470, which added the function
maybe_suggest_struct_literal
(@estebank)Version
@rustbot label +I-compiletime
The text was updated successfully, but these errors were encountered: