Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extend temporary lifetimes if there is a ref in an enum binding
too. Previously I had omitted this case since function calls don't get the same treatment on the RHS, but it's different on the pattern and is more consistent -- the goal is to identify `let` statements where `ref` bindings create interior pointers.
- Loading branch information