Commit Graph

9 Commits

Author SHA1 Message Date
Aidan Hall d779a13f2d LifetimeDependence: Closure capture dependencies 2026-04-24 16:14:21 +01:00
Aidan Hall c62d981ea5 LifetimeDependence: Document subtyping rules
These rules are implemented in #87281.
2026-02-27 14:07:20 +00:00
Andrew Trick e2288798dd Lifetime documentation: update the inout parameter default rule. 2026-02-24 13:56:37 -08:00
Andrew Trick 033108ad2c Document new @_lifetime restrictions and defaults 2026-02-14 17:29:44 -08:00
Aidan Hall 87ad8207e5 [docs] Update func type lifetimes section with closures 2026-02-10 11:24:51 +00:00
Aidan Hall 0c1c892514 [docs] + section for function type lifetimes 2026-02-06 17:29:35 +00:00
Andrew Trick c490a9f731 [docs] update lifetime defaults to prioritize the same-type rule 2025-12-12 20:58:55 -08:00
Andrew Trick 84a4b328ec Lifetime inference test case improvements.
Cleanup the tests so we can cross reference them with the documentation.

Update the tests to allow multiple annotations and defaults.
2025-09-03 22:42:13 -07:00
Andrew Trick bbdadac8fe Document @_lifetime annotation 2025-09-03 22:42:13 -07:00