mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-03 12:13:43 +00:00
61ff4dbedd
Avoid unnecessary renumbering during borrowck Currently, after renumbering there are always unused `RegionVid`s if the return type contains any regions, this is due to `visit_ty` being called twice on the same `Ty`: once with `TyContext::ReturnTy` and once with `TyContext::LocalDecl { local: _0 }`. This PR skips renumbering the first time around. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
messages.ftl |