[Cleanup] This is the first in the series of removals of with_freevars usage.
Currently, there are many places in rustc, where we use with_freevars to iterate over freevars of a closure. The problem with this is the argument to with_freevars is a NodeId and this will get in the way of our eventual goal of solving for issue (#53488), sub-issue (#56905)
Showing
想要评论请 注册 或 登录