rust/src/librustc_borrowck
bors ebf74d99b0 Auto merge of #43547 - arielb1:no-borrow-no-check, r=nikomatsakis
borrowck: skip CFG construction when there is nothing to propagate

CFG construction takes a large amount of time and memory, especially for
large constants. If such a constant contains no actions on lvalues, it
can't have borrowck problems and can be ignored by it.

This removes the 4.9GB borrowck peak from #36799. It seems that HIR had
grown by 300MB and MIR had grown by 500MB from the last massif
collection and that remains to be investigated, but this at least shaves
the borrowck peak.

r? @nikomatsakis
2017-07-31 23:21:24 +00:00
..
borrowck Auto merge of #43547 - arielb1:no-borrow-no-check, r=nikomatsakis 2017-07-31 23:21:24 +00:00
Cargo.toml Remove internal liblog 2017-03-23 11:28:00 -07:00
diagnostics.rs extended info for E0595 closure cannot mutate immutable local variable 2017-07-30 11:10:35 -07:00
graphviz.rs Fix various useless derefs and slicings 2017-03-27 08:58:00 +02:00
lib.rs Bump master to 1.21.0 2017-07-25 07:03:19 -07:00