Matthias Krüger
9ec5960e3d
Rollup merge of #120103 - compiler-errors:concrete-afits, r=oli-obk
...
Make it so that async-fn-in-trait is compatible with a concrete future in implementation
There's no technical reason why an AFIT like `async fn foo()` cannot be satisfied with an implementation signature like `fn foo() -> Pin<Box<dyn Future<Output = ()> + 'static>>`.
We rejected this previously because we were uncertain about how AFITs worked with refinement, but I don't believe this needs to be a restriction any longer.
r? oli-obk
2024-02-08 09:06:32 +01:00
..
2024-02-06 16:01:54 +00:00
2023-10-13 21:01:36 +00:00
2024-01-17 12:00:27 -08:00
2023-10-24 15:27:06 +00:00
2023-12-07 23:00:46 -05:00
2024-02-05 21:08:48 +00:00
2024-02-05 21:08:48 +00:00
2023-10-24 15:27:06 +00:00
2023-10-24 15:27:06 +00:00
2024-02-05 21:08:48 +00:00
2024-02-05 21:08:48 +00:00
2023-10-24 15:27:06 +00:00
2023-10-24 15:27:06 +00:00
2023-10-24 15:27:06 +00:00
2023-10-24 15:27:06 +00:00
2023-10-24 15:27:06 +00:00
2023-10-24 15:27:06 +00:00
2023-10-24 15:27:06 +00:00
2023-10-24 15:27:06 +00:00
2024-01-08 20:30:24 +00:00
2024-01-08 20:30:24 +00:00
2024-01-08 20:30:24 +00:00
2024-01-08 20:30:24 +00:00
2024-02-06 16:01:54 +00:00
2024-02-06 16:01:54 +00:00
2023-10-13 21:01:36 +00:00
2023-10-13 21:01:36 +00:00
2024-02-05 08:19:59 +00:00
2024-02-05 08:19:59 +00:00
2024-01-17 12:00:27 -08:00
2024-01-17 12:00:27 -08:00
2023-10-24 15:27:06 +00:00
2023-10-13 21:01:36 +00:00
2023-10-13 21:01:36 +00:00
2024-02-05 21:08:47 +00:00
2024-02-05 21:08:47 +00:00
2023-10-13 21:01:36 +00:00
2023-11-24 19:15:52 +01:00
2023-10-13 21:01:36 +00:00
2024-01-08 20:30:24 +00:00
2024-01-08 20:30:24 +00:00
2023-10-13 21:01:36 +00:00
2023-10-13 21:01:36 +00:00
2023-10-13 21:01:36 +00:00
2023-10-13 21:01:36 +00:00
2023-10-13 21:01:36 +00:00
2023-11-24 19:15:52 +01:00
2023-10-13 21:01:36 +00:00
2023-10-13 21:01:36 +00:00
2023-10-13 21:01:36 +00:00
2024-01-30 21:28:18 +00:00
2023-10-13 21:01:36 +00:00
2023-10-13 21:01:36 +00:00
2023-10-13 21:01:36 +00:00
2023-11-24 19:15:52 +01:00
2023-10-13 21:01:36 +00:00
2023-10-13 21:01:36 +00:00
2023-10-13 21:01:36 +00:00
2023-11-24 19:15:52 +01:00
2023-10-13 21:01:36 +00:00
2023-11-24 19:15:52 +01:00
2024-01-25 04:41:38 +00:00
2023-10-13 21:01:36 +00:00
2023-10-13 21:01:36 +00:00
2023-10-13 21:01:36 +00:00
2023-10-13 21:01:36 +00:00
2023-11-24 19:15:52 +01:00
2023-10-18 20:39:29 +00:00
2023-11-24 19:15:52 +01:00
2023-10-13 21:01:36 +00:00
2023-11-24 19:15:52 +01:00