Benjamin Woodruff
Benjamin Woodruff
The last callsite is being removed in vercel/next.js#67646 I'll wait for that to merge before merging this PR.
**This is a** *(mostly)* **machine-generated PR.** This uses a much updated version of the ast-grep based codemod script from #70927, which can now match a bunch more patterns. Codemod scripts:...
Generated using a version of https://github.com/vercel/turbopack-resolved-vc-codemod using Anthropic Claude Sonnet 3.5 (`claude-3-5-sonnet-20241022`) for more complicated errors we don't have hardcoded logic for. - Part 1: #70927 - Part 2: #71172...
I can believe that the non-collapsed if might be slightly more readable, but once you have to silence the lint with `#[allow(clippy::collapsible_if, reason = "readablility")]`, it's no longer worth it....
A binding is probably needed here to control what scope it's evaluated in and/or avoid potentially evaluating the expression multiple times. `match` was being used to create the binding, but...
It's not common that you'd have a `&mut Vc` or `&mut ResolvedVc` (because they're `Copy`), but there are some edge cases where you might, and there's no technical reason we...
Generated using a version of https://github.com/vercel/turbopack-resolved-vc-codemod . This uses Anthropic Claude Sonnet 3.5 for more complicated errors we don't have hardcoded logic for. - Part 1: #70927 - Part 2:...
Closes PACK-3339