Commit 3328fc2
committed
Add Lifetime Capture Rules 2024
The rules for which generic lifetime parameters are automatically
captured in an RPIT-like opaque type are changing in Rust 2024
according to RFC 3498. Let's document these changes.1 parent 9e35d2d commit 3328fc2
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
| 100 | + | |
101 | 101 | | |
102 | | - | |
| 102 | + | |
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
| |||
0 commit comments