about summary refs log tree commit diff
path: root/library/std/src/sys/pal/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorTrevor Gross <t.gross35@gmail.com>2024-07-17 19:53:26 -0500
committerGitHub <noreply@github.com>2024-07-17 19:53:26 -0500
commitb5771e7e0d37fd81dd059b72774f41c00b45e72f (patch)
tree5fab1bcec0194bc6cf0ecfa5a7396ddb560076ba /library/std/src/sys/pal/unix/stack_overflow.rs
parent973d92c3cc2e148b511c746f57992429cc6e2dca (diff)
parent1d40d4c4f496ce26d2cbf268b2f415e1f3bd5616 (diff)
downloadrust-b5771e7e0d37fd81dd059b72774f41c00b45e72f.tar.gz
rust-b5771e7e0d37fd81dd059b72774f41c00b45e72f.zip
Rollup merge of #127664 - compiler-errors:precise-capturing-better-sugg-apit, r=oli-obk
Fix precise capturing suggestion for hidden regions when we have APITs

Suggests to turn APITs into type parameters so they can be named in precise capturing syntax for hidden type lifetime errors. We also note that it may change the API.

This is currently done via a note *and* a suggestion, which feels a bit redundant, but I wasn't totally sure of a better alternative for the presentation.

Code is kind of a mess but there's a lot of cases to consider. Happy to iterate on this if you think the approach is too messy.

Based on #127619, only the last commit is relevant.
r? oli-obk

Tracking:

- https://github.com/rust-lang/rust/issues/123432
Diffstat (limited to 'library/std/src/sys/pal/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions