-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closure bounds fixes #58347
Closure bounds fixes #58347
Conversation
@@ -59,7 +60,7 @@ impl<'cx, 'gcx, 'tcx> NiceRegionError<'cx, 'gcx, 'tcx> { | |||
self.infcx.tcx | |||
} | |||
|
|||
pub fn try_report_from_nll(&self) -> Option<ErrorReported> { | |||
pub fn try_report_from_nll(&self) -> Option<DiagnosticBuilder<'cx>> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this (and the corresponding changes to make diagnostic construction lazy here) was smart
@bors r+ |
📌 Commit 2547c2c85d6736d81846ebf5c45822a6e7cedc65 has been approved by |
☔ The latest upstream changes (presumably #58341) made this pull request unmergeable. Please resolve the merge conflicts. |
2547c2c
to
5ebb4e7
Compare
@bors r=pnkfelix |
📌 Commit 5ebb4e7ef6579c012e925936d0dce198b094190c has been approved by |
This comment has been minimized.
This comment has been minimized.
5ebb4e7
to
79e8c31
Compare
@bors r=pnkfelix |
📌 Commit 79e8c31 has been approved by |
… r=pnkfelix Closure bounds fixes * Ensures that "nice region errors" are buffered so that they are sorted and migrated correctly. * Propagates fewer constraints for closures (cc rust-lang#58178) * Propagate constraints from closures more precisely (rust-lang#58127) Closes rust-lang#58127 r? @nikomatsakis
… r=pnkfelix Closure bounds fixes * Ensures that "nice region errors" are buffered so that they are sorted and migrated correctly. * Propagates fewer constraints for closures (cc rust-lang#58178) * Propagate constraints from closures more precisely (rust-lang#58127) Closes rust-lang#58127 r? @nikomatsakis
Rollup of 7 pull requests Successful merges: - #58309 (Add more profiler events) - #58347 (Closure bounds fixes) - #58365 (Add an option to print the status of incremental tasks / dep nodes after running them) - #58371 (Check user type annotations for range patterns.) - #58378 (rustc: Implement incremental "fat" LTO) - #58407 (specify "upper camel case" in style lint) - #58449 (Notify @topecongiro when the state of rustfmt has changed) Failed merges: r? @ghost
Closes #58127
r? @nikomatsakis