Closed
Description
Right now, if you have a region R where R: 'static
, the SCC computation in NLL is not aware that this means that R = 'static
. If we taught it that 'static: R
for all R, though, it would put them in the same SCC. This might be a big win for things like html5ever, as it would collapse almost all the regions into one big SCC. (I was doing some profiling on html5ever using the branch from #53177, and it seemed like this would help further drop the overhead.)