Commit 3a8bef7
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 4ad2685 commit 3a8bef7
1 file changed
+3
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
122 | | - | |
| 122 | + | |
123 | 123 | | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
| 124 | + | |
| 125 | + | |
129 | 126 | | |
130 | 127 | | |
131 | 128 | | |
| |||
0 commit comments