Slow probing for missing functions near type errors #103427
Labels
C-bug
Category: This is a bug.
I-compiletime
Issue: Problems and improvements with respect to compile times.
This takes over a second to emit each
cannot find function
error message. Somehow, the time spent for each missing function is linear in the number of type errors in the argument expression. Overall, this creates quadratic compilation time, and with a rather high constant factor.Where it's slow
The
item_bodies_checking
pass is the slow one. It seems to be spending time inprobe_for_return_type
, like in #103411.Meta
rustc --version --verbose
:@rustbot label +I-compiletime
The text was updated successfully, but these errors were encountered: