address review comments

- move constraints to an Option
- check `-Zpolonius=next` only once
- rewrite fixme comments to make the actionable part clear
This commit is contained in:
Rémy Rakic
2024-12-16 11:08:00 +00:00
parent c75c5176c5
commit aeb3d103a6
4 changed files with 27 additions and 29 deletions

View File

@@ -322,7 +322,7 @@ fn do_mir_borrowck<'tcx>(
body,
&regioncx,
&borrow_set,
&localized_outlives_constraints,
localized_outlives_constraints,
&opt_closure_req,
);