Maybe Waffle
8b494f427c
Allow impl Fn() -> impl Trait
in return position
...
This allows writing the following function signatures:
```rust
fn f0() -> impl Fn() -> impl Trait;
fn f3() -> &'static dyn Fn() -> impl Trait;
```
These signatures were already allowed for common traits and associated
types, there is no reason why `Fn*` traits should be special in this
regard.
2022-10-25 13:25:51 +00:00
..
2022-08-23 19:32:37 +04:00
2022-10-18 15:51:23 +11:00
2022-10-25 13:25:51 +00:00
2022-10-23 10:09:44 +02:00
2022-10-10 02:31:37 +00:00
2022-10-23 10:09:44 +02:00
2022-10-23 10:09:44 +02:00
2022-10-24 19:32:25 +09:00
2022-10-23 16:43:48 +02:00
2022-10-23 10:09:44 +02:00
2022-10-23 13:48:03 +02:00
2022-10-23 13:48:03 +02:00
2022-10-23 10:09:44 +02:00
2022-10-21 18:04:00 +08:00
2022-10-23 10:09:44 +02:00
2022-10-13 00:53:46 +08:00
2022-10-23 13:48:03 +02:00
2022-10-23 11:33:18 +00:00
2022-10-23 10:09:44 +02:00
2022-10-24 19:32:25 +09:00
2022-08-18 19:29:02 +01:00
2022-10-12 17:49:10 +05:30
2022-10-23 09:06:39 +00:00
2022-10-15 23:34:21 +09:00
2022-10-23 11:33:18 +00:00
2022-10-10 00:09:42 +09:00
2022-10-23 09:06:39 +00:00
2022-10-23 13:48:03 +02:00
2022-10-23 14:48:17 -07:00
2022-10-22 00:13:59 +02:00
2022-10-23 10:09:44 +02:00
2022-10-23 11:33:18 +00:00
2022-10-23 14:48:17 -07:00
2022-10-22 13:20:06 -05:00
2022-10-23 10:09:44 +02:00
2022-10-21 02:33:15 -07:00
2022-10-23 10:09:44 +02:00
2022-10-23 11:33:18 +00:00
2022-10-01 01:05:01 +02:00
2022-10-23 10:09:44 +02:00
2022-10-23 10:09:44 +02:00
2022-10-23 10:09:44 +02:00
2022-10-21 02:33:15 -07:00
2022-10-23 10:09:44 +02:00
2022-10-23 14:48:15 -07:00
2022-10-23 10:09:44 +02:00
2022-10-23 13:48:03 +02:00
2022-10-24 07:24:45 +00:00
2022-10-23 10:09:44 +02:00
2022-10-19 12:41:11 +02:00
2022-10-23 09:06:39 +00:00
2022-10-17 10:54:03 +02:00
2022-10-07 07:06:19 -05:00
2022-10-23 10:09:44 +02:00
2022-10-19 17:11:40 +00:00