Skip to content

Commit 9476edc

Browse files
committed
Add open question about limiting impl Trait positions
1 parent 80f1b44 commit 9476edc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

text/0000-return-position-impl-trait-in-traits.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -649,6 +649,7 @@ There are a number of crates that do desugaring like this manually or with proce
649649

650650
- Should we stabilize this feature together with `async fn` to mitigate hazards of writing a trait that is not forwards-compatible with its desugaring? (See [drawbacks].)
651651
- Resolution of [#112194: RPITIT is allowed to name any in-scope lifetime parameter, unlike inherent RPIT methods](https://github.com/rust-lang/rust/issues/112194)
652+
- Should we limit the legal positions for `impl Trait` to positions that are nameable using upcoming features like return-type notation (RTN)? (See [this comment](https://github.com/rust-lang/rfcs/pull/3425#pullrequestreview-1467880633) for an example.)
652653

653654
# Future possibilities
654655
[future-possibilities]: #future-possibilities

0 commit comments

Comments
 (0)