Skip to content

Tracking Issue for Lifetime Capture Rules 2024 (RFC 3498) #117587

Closed
@traviscross

Description

@traviscross

This is a tracking issue for the RFC 3498, "Lifetime Capture Rules 2024" (rust-lang/rfcs#3498). The feature gate for the issue is #![feature(lifetime_capture_rules_2024)].

In Rust 2024 and later editions, return position impl Trait (RPIT) opaque types will automatically capture all in-scope type and lifetime parameters. In preparation for this, new RPIT-like impl Trait features introduced into earlier editions will also automatically capture all in-scope type and lifetime parameters.

About tracking issues

Tracking issues are used to record the overall progress of implementation. They are also used as hubs connecting to other relevant issues, e.g., bugs or open design questions. A tracking issue is however not meant for large scale discussion, questions, or bug reports about a feature. Instead, open a dedicated issue for the specific matter and add the relevant feature gate label.

Steps

Related

Metadata

Metadata

Assignees

Labels

A-edition-2024Area: The 2024 editionB-RFC-approvedBlocker: Approved by a merged RFC but not yet implemented.C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCF-lifetime_capture_rules_2024`#![feature(lifetime_capture_rules_2024)]`S-tracking-ready-for-editionStatus: This issue is ready for inclusion in the edition.T-langRelevant to the language team, which will review and decide on the PR/issue.

Type

No type

Projects

Status

Idea

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions