Commit 39c84e7
rust: Enable type_alias_impl_trait
This is required to make PinInit<T> work as a return value from a
trait function. We indirect via an associated type to avoid
return_position_impl_trait_in_trait, which is an incomplete feature.
Signed-off-by: Asahi Lina <lina@asahilina.net>1 parent 6f36c32 commit 39c84e7
2 files changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
248 | 248 | | |
249 | 249 | | |
250 | 250 | | |
251 | | - | |
| 251 | + | |
252 | 252 | | |
253 | 253 | | |
254 | 254 | | |
| |||
0 commit comments