Add lint for closure that capturing loop variable