Compiler is still slow in rejecting "Invalid left-hand side of assignment" #103411
Labels
C-bug
Category: This is a bug.
I-compiletime
Issue: Problems and improvements with respect to compile times.
rustc takes 75ms to reject each line of
1 = ();
.Testcase (100 repetitions)
Meta
rustc --version --verbose
:Observations
item_bodies_checking
.probe_for_return_type
.1 = 1 = ... = 1;
to repeats of1 = ();
. This doesn't affect the speed, but may make the sample tree easier to read.#![no_std]
. This strikes me as odd because I wouldn't expect anything instd
to make this assignment valid.@rustbot label +I-compiletime
The text was updated successfully, but these errors were encountered: