Skip to content

Commit 1859b98

Browse files
committed
Remove Future Direction: only limited to results
1 parent aed8750 commit 1859b98

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

proposals/NNNN-lifetime-dependency.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -786,14 +786,6 @@ This was changed after we realized that there was in practice almost always a si
786786

787787
## Future Directions
788788

789-
### Lifetime Dependencies for Escapable Types
790-
791-
This proposal has deliberately limited the application of lifetime dependencies to return types that are nonescapable.
792-
This simplifies the model by identifying nonescapable types as exactly those types that can carry such dependencies.
793-
It also helps simplify the enforcement of lifetime constraints by guaranteeing that constrained values cannot escape before being returned.
794-
Most importantly, this restriction helps ensure that the new semantics (especially lifetime dependency inference) cannot accidentally break existing code.
795-
We expect that in the future, additional investigation can reveal a way to relax this restriction.
796-
797789
### Lifetime Dependencies for Tuples
798790

799791
It should be possible to return a tuple where one part has a lifetime dependency.

0 commit comments

Comments
 (0)