https://github.com/rust-lang/rust/issues/84277

Tracking Issue for try_trait_v2, A new design for the ? desugaring (RFC#3058) · Issue #84277 · rust-lang/rust

Skip to content

Navigation Menu

Use saved searches to filter your results more quickly

Sign up

@scottmcm

Description

@scottmcm

This is a tracking issue for the RFC " try_trait_v2: A new design for the ? desugaring" ( rust-lang/rfcs#3058).

The feature gate for the issue is #![feature(try_trait_v2)].

This obviates rust-lang/rfcs#1859, tracked in #42327.

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

Unresolved Questions

From RFC:

  • What vocabulary should Try use in the associated types/traits? Output+residual, continue+break, or something else entirely?
  • Is it ok for the two traits to be tied together closely, as outlined here, or should they be split up further to allow types that can be only-created or only-destructured?

From experience in nightly:

Implementation history