question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Summary

RFC 2229 modifies closures so that they do not capture entire variables but instead more precise paths.

Info

What is this issue?

This issue represents an active project group. It is meant to be used for the group to post updates to the lang team (and others) in a lightweight fashion. Please do not use the comments here for discussion, that should be kept in the Zulip stream (discussion comments here will be marked as off-topic).

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:7
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

10reactions
arora-amancommented, Apr 7, 2021
  • Feature mostly works and is avaiable under #![feature(capture_disjoint_fields)]
  • We have handled all edge cases we are aware of including patterns, FRU syntax, references in move closures, handling unsafe
  • Migration lint for drop reordering is supported under #[deny(disjoint_capture_drop_reorder)] and is supported using rust fix.
  • On going work to support migration for auto-traits, and diagnostics
0reactions
nikomatsakiscommented, Feb 1, 2022

Stabilized!

Read more comments on GitHub >

github_iconTop Results From Across the Web

RFC 2229: A Dictionary Server Protocol
RFC 2229 A Dictionary Server Protocol October 1997 The webster protocol is not suitable for providing access to a large number of separate ......
Read more >
A Dictionary Server Protocol RFC 2229 - IETF Datatracker
A Dictionary Server Protocol (RFC 2229, October 1997)
Read more >
rust-lang/project-rfc-2229 - GitHub
project-rfc-2229. A repository tracking the planning for implementation and evaluation of RFC 2229. See also: RFC 2229 · Rust tracking issue, ...
Read more >
RFC 2229: A Dictionary Server Protocol - Wikidata
RFC 2229 : A Dictionary Server Protocol. request for comments publication. RFC2229; A Dictionary Server Protocol. In more languages. Spanish.
Read more >
rfc-2229 Working Group | Rust Lang - Compiler Team
Finish, optimize, and test the implementation of RFC-2229. RFC 2229 changes the way closure-capture works so that we no longer capture entire individual ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found